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>
</attribute>
<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>
<layout class="QVBoxLayout" name="findLayout">
<item>
<widget class="QLabel" name="findLabel">
<property name="text">
<string>Search fo&amp;r:</string>
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>6</number>
</property>
<property name="buddy">
<cstring>find_work_area_</cstring>
<property name="topMargin">
<number>6</number>
</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>
<widget class="lyx::frontend::EmbeddedWorkArea" name="find_work_area_" native="true">
@ -48,14 +76,27 @@
<item>
<layout class="QVBoxLayout" name="replaceLayout">
<item>
<widget class="QLabel" name="replaceLabel">
<property name="text">
<string>Replace &amp;with:</string>
<layout class="QGridLayout" name="gridLayout_3">
<property name="leftMargin">
<number>6</number>
</property>
<property name="buddy">
<cstring>replace_work_area_</cstring>
<property name="topMargin">
<number>6</number>
</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>
<widget class="lyx::frontend::EmbeddedWorkArea" name="replace_work_area_" native="true">
@ -72,35 +113,24 @@
<item>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<spacer name="verticalSpacer_4">
<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>
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0">
<item>
<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>
<widget class="QCheckBox" name="searchbackCB">
<property name="toolTip">
@ -136,8 +166,36 @@
</item>
</layout>
</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>
<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>
<widget class="QPushButton" name="findNextPB">
<property name="enabled">
@ -184,6 +242,19 @@
</item>
</layout>
</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>
</item>
</layout>