]> git.lyx.org Git - features.git/commitdiff
Expand module names instead of buttons in settings
authorScott Kostyshak <skostysh@lyx.org>
Tue, 27 May 2014 21:37:58 +0000 (17:37 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sat, 7 Jun 2014 04:43:07 +0000 (00:43 -0400)
Maximizing the document settings window when on the modules pane,
the horizontal space is now given to the module names and so no
scrollbar is needed. Before, even when maximized, a scrollbar was
sometimes needed because the horizontal space was given to the
buttons in the middle, which did not provide an extra benefit.

The default sizeType was "Expanding" and is now changed to "Minimum"
for the horizontal spacer above the middle buttons.

src/frontends/qt4/ui/ModulesUi.ui

index 433b3d3cf00a96cad481a82cea4d6bd842bf30e9..472a0a22c2d53336a409057c77374d8c6fbf35bb 100644 (file)
@@ -92,6 +92,9 @@
            <height>20</height>
           </size>
          </property>
+         <property name="sizeType">
+          <enum>QSizePolicy::Minimum</enum>
+         </property>
         </spacer>
        </item>
        <item>