Frame takes less space than GroupBox

This commit is contained in:
Juergen Spitzmueller 2021-02-14 18:12:38 +01:00
parent 7c9eaa248d
commit 28239bf996
2 changed files with 21 additions and 6 deletions

View File

@ -126,7 +126,7 @@ void GuiSearchWidget::minimizeClicked(bool const toggle)
replacePB->setHidden(minimized_);
replacePrevPB->setHidden(minimized_);
replaceallPB->setHidden(minimized_);
CBGroupBox->setHidden(minimized_);
CBFrame->setHidden(minimized_);
if (minimized_) {
minimizePB->setText(qt_("Ex&pand"));
minimizePB->setToolTip("Show replace and option widgets");

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>706</width>
<height>127</height>
<height>149</height>
</rect>
</property>
<property name="sizePolicy">
@ -194,9 +194,27 @@
</item>
</layout>
</item>
<item row="2" column="0">
<layout class="QVBoxLayout" name="verticalLayout"/>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="CBGroupBox">
<widget class="QFrame" name="CBFrame">
<layout class="QHBoxLayout" name="CBLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
@ -231,9 +249,6 @@
</layout>
</widget>
</item>
<item row="2" column="0">
<layout class="QVBoxLayout" name="verticalLayout"/>
</item>
</layout>
</widget>
<includes>