mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix group box width in Document > Settings > Float Settings
Also fix typo in widget name
This commit is contained in:
parent
c2d70fcdd1
commit
d44bea76ea
@ -346,7 +346,7 @@ bool FloatPlacement::checkWidgets(bool readonly) const
|
||||
if (readonly) {
|
||||
floatTypeCO->setEnabled(false);
|
||||
placementCO->setEnabled(false);
|
||||
aligmentGB->setEnabled(false);
|
||||
alignmentGB->setEnabled(false);
|
||||
spanCB->setEnabled(false);
|
||||
sidewaysCB->setEnabled(false);
|
||||
} else
|
||||
|
@ -65,7 +65,7 @@
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="1" column="3">
|
||||
<widget class="QGroupBox" name="aligmentGB">
|
||||
<widget class="QGroupBox" name="alignmentGB">
|
||||
<property name="title">
|
||||
<string>Alignment of Contents</string>
|
||||
</property>
|
||||
@ -88,6 +88,16 @@
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item row="4" column="0">
|
||||
<widget class="QRadioButton" name="alignRightRB">
|
||||
<property name="toolTip">
|
||||
<string>Right-align float contents</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Right</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QRadioButton" name="alignDocDefaultRB">
|
||||
<property name="toolTip">
|
||||
@ -98,13 +108,13 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QRadioButton" name="alignLeftRB">
|
||||
<item row="0" column="0">
|
||||
<widget class="QRadioButton" name="alignClassDefaultRB">
|
||||
<property name="toolTip">
|
||||
<string>Left-align float contents</string>
|
||||
<string>Use the class' default alignment for floats, whatever it is.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Left</string>
|
||||
<string>Class &Default</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -118,25 +128,28 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QRadioButton" name="alignRightRB">
|
||||
<item row="2" column="0">
|
||||
<widget class="QRadioButton" name="alignLeftRB">
|
||||
<property name="toolTip">
|
||||
<string>Right-align float contents</string>
|
||||
<string>Left-align float contents</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Right</string>
|
||||
<string>&Left</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QRadioButton" name="alignClassDefaultRB">
|
||||
<property name="toolTip">
|
||||
<string>Use the class' default alignment for floats, whatever it is.</string>
|
||||
<item row="2" column="1">
|
||||
<spacer name="horizontalSpacer_3">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Class &Default</string>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
|
Loading…
Reference in New Issue
Block a user