FloatPlacementUi was broken elsewhere.

At document prefs there was undeleted first empty line.
This was due to the spacer which has no visibility property.
However, removing spacer breaks alignment in float dialog
so we need to set up stretch of combo box to full width.

I have no better idea.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37838 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2011-03-02 23:15:04 +00:00
parent c0a426ee7d
commit e15d8a850f

View File

@ -21,20 +21,14 @@
</widget>
</item>
<item row="0" column="1" colspan="2" >
<widget class="QComboBox" name="floatTypeCO" />
</item>
<item row="0" column="3" >
<spacer name="floatTypeSpacer" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
<widget class="QComboBox" name="floatTypeCO" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</widget>
</item>
<item row="1" column="0" colspan="4" >
<widget class="QCheckBox" name="defaultsCB" >