]> git.lyx.org Git - features.git/commitdiff
Fix the size of the hAlign combobox in GuiTabular
authorVincent van Ravesteijn <vfr@lyx.org>
Thu, 25 Apr 2013 20:35:56 +0000 (22:35 +0200)
committerVincent van Ravesteijn <vfr@lyx.org>
Thu, 25 Apr 2013 20:35:56 +0000 (22:35 +0200)
The default sizeAdjustPolicy is AdjustToContentsOnFirstShow. As the
combobox is initially filled with all items, it will not change size if we
later remove the 'At Decimal Separator' item.

src/frontends/qt4/ui/TabularUi.ui

index 1c66527af0853e25d43a91b87e8a251d2c0ebeef..31676716c76ff538951d72ef3c8f7060b7104eee 100644 (file)
             <property name="toolTip" >
              <string>Horizontal alignment in column</string>
             </property>
-            <property name="sizeAdjustPolicy" >
-             <enum>QComboBox::AdjustToContents</enum>
-            </property>
             <item>
              <property name="text" >
               <string>Justified</string>