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) {
|
if (readonly) {
|
||||||
floatTypeCO->setEnabled(false);
|
floatTypeCO->setEnabled(false);
|
||||||
placementCO->setEnabled(false);
|
placementCO->setEnabled(false);
|
||||||
aligmentGB->setEnabled(false);
|
alignmentGB->setEnabled(false);
|
||||||
spanCB->setEnabled(false);
|
spanCB->setEnabled(false);
|
||||||
sidewaysCB->setEnabled(false);
|
sidewaysCB->setEnabled(false);
|
||||||
} else
|
} else
|
||||||
|
@ -65,7 +65,7 @@
|
|||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="3">
|
<item row="1" column="3">
|
||||||
<widget class="QGroupBox" name="aligmentGB">
|
<widget class="QGroupBox" name="alignmentGB">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Alignment of Contents</string>
|
<string>Alignment of Contents</string>
|
||||||
</property>
|
</property>
|
||||||
@ -88,6 +88,16 @@
|
|||||||
<property name="spacing">
|
<property name="spacing">
|
||||||
<number>6</number>
|
<number>6</number>
|
||||||
</property>
|
</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">
|
<item row="1" column="0">
|
||||||
<widget class="QRadioButton" name="alignDocDefaultRB">
|
<widget class="QRadioButton" name="alignDocDefaultRB">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
@ -98,13 +108,13 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QRadioButton" name="alignLeftRB">
|
<widget class="QRadioButton" name="alignClassDefaultRB">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Left-align float contents</string>
|
<string>Use the class' default alignment for floats, whatever it is.</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Left</string>
|
<string>Class &Default</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -118,25 +128,28 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="0">
|
<item row="2" column="0">
|
||||||
<widget class="QRadioButton" name="alignRightRB">
|
<widget class="QRadioButton" name="alignLeftRB">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Right-align float contents</string>
|
<string>Left-align float contents</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Right</string>
|
<string>&Left</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="0">
|
<item row="2" column="1">
|
||||||
<widget class="QRadioButton" name="alignClassDefaultRB">
|
<spacer name="horizontalSpacer_3">
|
||||||
<property name="toolTip">
|
<property name="orientation">
|
||||||
<string>Use the class' default alignment for floats, whatever it is.</string>
|
<enum>Qt::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="sizeHint" stdset="0">
|
||||||
<string>Class &Default</string>
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
Loading…
Reference in New Issue
Block a user