]> git.lyx.org Git - features.git/commitdiff
Give Advanced Find a minimum size
authorScott Kostyshak <skostysh@lyx.org>
Sun, 28 Jun 2015 08:50:02 +0000 (04:50 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sun, 28 Jun 2015 09:16:49 +0000 (05:16 -0400)
The horizontal size policy is now set to "MinimumExpanding", which
means that sizeHint() is enforced as a minimum, but that the widget
can make use of extra available space.

Before, the size policy was ignored, and often resulted in a
scrunched pane that had to have its size manually increased.

src/frontends/qt4/ui/FindAndReplaceUi.ui

index 2e113c76c815c836a3b4f8380906eabfd71b1a0d..da581650d2bb6167efd644ecca53418ab85b3591 100644 (file)
@@ -11,7 +11,7 @@
    </rect>
   </property>
   <property name="sizePolicy">
-   <sizepolicy hsizetype="Ignored" vsizetype="Ignored">
+   <sizepolicy hsizetype="MinimumExpanding" vsizetype="Ignored">
     <horstretch>0</horstretch>
     <verstretch>0</verstretch>
    </sizepolicy>