Adjust adv. find & replace pane spacing

Partial fix of bug #12152.
This commit is contained in:
Daniel Ramoeller 2021-02-21 08:02:21 +01:00 committed by Juergen Spitzmueller
parent 11548c523a
commit 2a8cac75f4

View File

@ -21,17 +21,45 @@
<string>Sear&amp;ch</string> <string>Sear&amp;ch</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="dynamicLayoutBasic_" stretch="1,1,0"> <layout class="QVBoxLayout" name="dynamicLayoutBasic_" stretch="1,1,0">
<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> <item>
<layout class="QVBoxLayout" name="findLayout"> <layout class="QVBoxLayout" name="findLayout">
<item> <item>
<widget class="QLabel" name="findLabel"> <layout class="QGridLayout" name="gridLayout">
<property name="text"> <property name="leftMargin">
<string>Search fo&amp;r:</string> <number>6</number>
</property> </property>
<property name="buddy"> <property name="topMargin">
<cstring>find_work_area_</cstring> <number>6</number>
</property> </property>
</widget> <property name="rightMargin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="findLabel">
<property name="text">
<string>Search fo&amp;r:</string>
</property>
<property name="buddy">
<cstring>find_work_area_</cstring>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item>
<widget class="lyx::frontend::EmbeddedWorkArea" name="find_work_area_" native="true"> <widget class="lyx::frontend::EmbeddedWorkArea" name="find_work_area_" native="true">
@ -48,14 +76,27 @@
<item> <item>
<layout class="QVBoxLayout" name="replaceLayout"> <layout class="QVBoxLayout" name="replaceLayout">
<item> <item>
<widget class="QLabel" name="replaceLabel"> <layout class="QGridLayout" name="gridLayout_3">
<property name="text"> <property name="leftMargin">
<string>Replace &amp;with:</string> <number>6</number>
</property> </property>
<property name="buddy"> <property name="topMargin">
<cstring>replace_work_area_</cstring> <number>6</number>
</property> </property>
</widget> <property name="rightMargin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="replaceLabel">
<property name="text">
<string>Replace &amp;with:</string>
</property>
<property name="buddy">
<cstring>replace_work_area_</cstring>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item>
<widget class="lyx::frontend::EmbeddedWorkArea" name="replace_work_area_" native="true"> <widget class="lyx::frontend::EmbeddedWorkArea" name="replace_work_area_" native="true">
@ -72,35 +113,24 @@
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_4"> <layout class="QVBoxLayout" name="verticalLayout_4">
<item> <item>
<spacer name="verticalSpacer_4"> <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>13</width>
<height>13</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout" stretch="1,0,0">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>13</width>
<height>13</height>
</size>
</property>
</spacer>
</item>
<item> <item>
<layout class="QVBoxLayout" name="cbVerticalLayout"> <layout class="QVBoxLayout" name="cbVerticalLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<item> <item>
<widget class="QCheckBox" name="searchbackCB"> <widget class="QCheckBox" name="searchbackCB">
<property name="toolTip"> <property name="toolTip">
@ -136,8 +166,36 @@
</item> </item>
</layout> </layout>
</item> </item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item> <item>
<layout class="QVBoxLayout" name="pbVerticalLayout"> <layout class="QVBoxLayout" name="pbVerticalLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<item> <item>
<widget class="QPushButton" name="findNextPB"> <widget class="QPushButton" name="findNextPB">
<property name="enabled"> <property name="enabled">
@ -184,6 +242,19 @@
</item> </item>
</layout> </layout>
</item> </item>
<item>
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</item> </item>
</layout> </layout>