[LyX/master] Amend 2baa3a46a6ad.

Richard Kimberly Heck rikiheck at lyx.org
Sun Feb 14 16:38:19 UTC 2021


commit 98f3ef092483b8d6c959a7ad565523e101bcff8a
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Sun Feb 14 11:34:49 2021 -0500

    Amend 2baa3a46a6ad.
---
 src/frontends/qt/GuiSearch.cpp  |    1 +
 src/frontends/qt/ui/SearchUi.ui |  100 ++++++++++++++++++++-------------------
 2 files changed, 52 insertions(+), 49 deletions(-)

diff --git a/src/frontends/qt/GuiSearch.cpp b/src/frontends/qt/GuiSearch.cpp
index 6722655..28c8ae6 100644
--- a/src/frontends/qt/GuiSearch.cpp
+++ b/src/frontends/qt/GuiSearch.cpp
@@ -128,6 +128,7 @@ void GuiSearchWidget::minimizeClicked(bool const toggle)
 	replaceallPB->setHidden(minimized_);
 	wordsCB->setHidden(minimized_);
 	caseCB->setHidden(minimized_);
+	CBGroupBox->setHidden(minimized_);
 	if (minimized_) {
 		minimizePB->setText(qt_("Ex&pand"));
 		minimizePB->setToolTip("Show replace and option widgets");
diff --git a/src/frontends/qt/ui/SearchUi.ui b/src/frontends/qt/ui/SearchUi.ui
index 53661ba..5fea415 100644
--- a/src/frontends/qt/ui/SearchUi.ui
+++ b/src/frontends/qt/ui/SearchUi.ui
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>678</width>
-    <height>135</height>
+    <width>706</width>
+    <height>121</height>
    </rect>
   </property>
   <property name="sizePolicy">
@@ -23,53 +23,6 @@
    <bool>false</bool>
   </property>
   <layout class="QGridLayout" name="gridLayout_2">
-   <item row="1" column="0">
-    <layout class="QHBoxLayout" name="horizontalLayout">
-     <item>
-      <widget class="QCheckBox" name="caseCB">
-       <property name="text">
-        <string>&Case sensitive[[search]]</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QCheckBox" name="wordsCB">
-       <property name="text">
-        <string>Match &whole words only</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <spacer name="horizontalSpacer">
-       <property name="orientation">
-        <enum>Qt::Horizontal</enum>
-       </property>
-       <property name="sizeHint" stdset="0">
-        <size>
-         <width>40</width>
-         <height>20</height>
-        </size>
-       </property>
-      </spacer>
-     </item>
-    </layout>
-   </item>
-   <item row="2" column="0">
-    <spacer name="verticalSpacer">
-     <property name="orientation">
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeType">
-      <enum>QSizePolicy::MinimumExpanding</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>89</width>
-       <height>0</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
    <item row="0" column="0">
     <layout class="QGridLayout" name="gridLayout">
      <item row="0" column="2">
@@ -241,6 +194,55 @@
      </item>
     </layout>
    </item>
+   <item row="2" column="0">
+    <spacer name="verticalSpacer">
+     <property name="orientation">
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeType">
+      <enum>QSizePolicy::MinimumExpanding</enum>
+     </property>
+     <property name="sizeHint" stdset="0">
+      <size>
+       <width>89</width>
+       <height>0</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item row="1" column="0">
+    <widget class="QGroupBox" name="CBGroupBox">
+     <layout class="QHBoxLayout" name="CBLayout">
+      <item>
+       <widget class="QCheckBox" name="caseCB">
+        <property name="text">
+         <string>&Case sensitive[[search]]</string>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QCheckBox" name="wordsCB">
+        <property name="text">
+         <string>Match &whole words only</string>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <spacer name="horizontalSpacer">
+        <property name="orientation">
+         <enum>Qt::Horizontal</enum>
+        </property>
+        <property name="sizeHint" stdset="0">
+         <size>
+          <width>40</width>
+          <height>20</height>
+         </size>
+        </property>
+       </spacer>
+      </item>
+     </layout>
+    </widget>
+   </item>
   </layout>
  </widget>
  <includes>


More information about the lyx-cvs mailing list