[LyX/master] AdvFind: fix alignment of checkboxes (#13020)

Juergen Spitzmueller spitz at lyx.org
Sat Jan 13 09:53:56 UTC 2024


commit 3b7f6d614d650fbf8fed9a46f526370275e2ce52
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Sat Jan 13 12:20:18 2024 +0100

    AdvFind: fix alignment of checkboxes (#13020)
---
 src/frontends/qt/ui/FindAndReplaceUi.ui |   81 ++++++++++++++++++-------------
 1 files changed, 47 insertions(+), 34 deletions(-)

diff --git a/src/frontends/qt/ui/FindAndReplaceUi.ui b/src/frontends/qt/ui/FindAndReplaceUi.ui
index e35a785..e8373e2 100644
--- a/src/frontends/qt/ui/FindAndReplaceUi.ui
+++ b/src/frontends/qt/ui/FindAndReplaceUi.ui
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>394</width>
-    <height>664</height>
+    <height>648</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -447,24 +447,24 @@
        <bool>false</bool>
       </property>
       <layout class="QGridLayout" name="gridLayout_4">
-       <item row="2" column="1">
-        <widget class="QCheckBox" name="adhereStrikeCB">
+       <item row="4" column="1">
+        <widget class="QCheckBox" name="adhereSectioningCB">
          <property name="text">
-          <string>Strike-through</string>
+          <string>Sectioning markup</string>
          </property>
         </widget>
        </item>
-       <item row="3" column="0">
-        <widget class="QCheckBox" name="adhereFSeriesCB">
+       <item row="3" column="1">
+        <widget class="QCheckBox" name="adhereDeletedCB">
          <property name="text">
-          <string>Font series[[FindReplaceAdv]]</string>
+          <string>Deletion (change)</string>
          </property>
         </widget>
        </item>
-       <item row="1" column="0">
-        <widget class="QCheckBox" name="adhereColorCB">
+       <item row="3" column="0">
+        <widget class="QCheckBox" name="adhereFSeriesCB">
          <property name="text">
-          <string>Font color</string>
+          <string>Font series[[FindReplaceAdv]]</string>
          </property>
         </widget>
        </item>
@@ -475,38 +475,45 @@
          </property>
         </widget>
        </item>
-       <item row="6" column="1">
-        <widget class="QPushButton" name="deselectAllPB">
+       <item row="2" column="0">
+        <widget class="QCheckBox" name="adhereFFamilyCB">
          <property name="text">
-          <string>Dese&lect all</string>
+          <string>Font family</string>
          </property>
         </widget>
        </item>
-       <item row="2" column="0">
-        <widget class="QCheckBox" name="adhereFFamilyCB">
+       <item row="1" column="0">
+        <widget class="QCheckBox" name="adhereColorCB">
          <property name="text">
-          <string>Font family</string>
+          <string>Font color</string>
          </property>
         </widget>
        </item>
-       <item row="0" column="0">
-        <widget class="QCheckBox" name="adhereLanguageCB">
+       <item row="4" column="0">
+        <widget class="QCheckBox" name="adhereFShapeCB">
          <property name="text">
-          <string>Language</string>
+          <string>Font shape</string>
          </property>
         </widget>
        </item>
-       <item row="4" column="1">
-        <widget class="QCheckBox" name="adhereSectioningCB">
+       <item row="2" column="1">
+        <widget class="QCheckBox" name="adhereStrikeCB">
          <property name="text">
-          <string>Sectioning markup</string>
+          <string>Strike-through</string>
          </property>
         </widget>
        </item>
-       <item row="3" column="1">
-        <widget class="QCheckBox" name="adhereDeletedCB">
+       <item row="0" column="0">
+        <widget class="QCheckBox" name="adhereLanguageCB">
          <property name="text">
-          <string>Deletion (change)</string>
+          <string>Language</string>
+         </property>
+        </widget>
+       </item>
+       <item row="7" column="1">
+        <widget class="QPushButton" name="deselectAllPB">
+         <property name="text">
+          <string>Dese&lect all</string>
          </property>
         </widget>
        </item>
@@ -517,26 +524,32 @@
          </property>
         </widget>
        </item>
-       <item row="4" column="0">
-        <widget class="QCheckBox" name="adhereFShapeCB">
+       <item row="5" column="0">
+        <widget class="QCheckBox" name="adhereFSizeCB">
          <property name="text">
-          <string>Font shape</string>
+          <string>Font size</string>
          </property>
         </widget>
        </item>
-       <item row="6" column="0">
+       <item row="7" column="0">
         <widget class="QPushButton" name="selectAllPB">
          <property name="text">
           <string>&Select all</string>
          </property>
         </widget>
        </item>
-       <item row="5" column="0">
-        <widget class="QCheckBox" name="adhereFSizeCB">
-         <property name="text">
-          <string>Font size</string>
+       <item row="8" column="0">
+        <spacer name="verticalSpacer_6">
+         <property name="orientation">
+          <enum>Qt::Vertical</enum>
          </property>
-        </widget>
+         <property name="sizeHint" stdset="0">
+          <size>
+           <width>20</width>
+           <height>40</height>
+          </size>
+         </property>
+        </spacer>
        </item>
       </layout>
      </widget>


More information about the lyx-cvs mailing list