this is really just to make the paragraph dialog look a little bit more compact, i.e. I reduced the ugly whitespace on the bottom, no other change.
OK to commit? Jürgen
Index: src/frontends/qt4/ui/ParagraphUi.ui =================================================================== --- src/frontends/qt4/ui/ParagraphUi.ui (Revision 19033) +++ src/frontends/qt4/ui/ParagraphUi.ui (Arbeitskopie) @@ -9,7 +9,7 @@ <x>0</x> <y>0</y> <width>488</width> - <height>334</height> + <height>286</height> </rect> </property> <property name="sizePolicy" > @@ -36,52 +36,6 @@ <property name="spacing" > <number>6</number> </property> - <item row="4" column="0" > - <spacer> - <property name="orientation" > - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" > - <size> - <width>20</width> - <height>31</height> - </size> - </property> - </spacer> - </item> - <item row="2" column="0" > - <layout class="QHBoxLayout" > - <property name="margin" > - <number>0</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item> - <widget class="QCheckBox" name="indentCB" > - <property name="text" > - <string>Indent &Paragraph</string> - </property> - </widget> - </item> - <item> - <spacer> - <property name="orientation" > - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType" > - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="sizeHint" > - <size> - <width>20</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - </layout> - </item> <item row="5" column="0" > <layout class="QHBoxLayout" > <property name="margin" > @@ -151,61 +105,64 @@ </item> </layout> </item> - <item row="0" column="0" > - <layout class="QHBoxLayout" > - <property name="margin" > - <number>0</number> + <item row="4" column="0" > + <spacer> + <property name="orientation" > + <enum>Qt::Vertical</enum> </property> - <property name="spacing" > - <number>6</number> + <property name="sizeHint" > + <size> + <width>20</width> + <height>16</height> + </size> </property> - <item> - <widget class="QLabel" name="linespacingL" > - <property name="text" > - <string>L&ine spacing:</string> - </property> - <property name="buddy" > - <cstring>linespacing</cstring> - </property> - </widget> - </item> - <item> - <widget class="QComboBox" name="linespacing" > - <item> - <property name="text" > - <string>Default</string> + </spacer> + </item> + <item row="3" column="0" > + <widget class="QGroupBox" name="labelwidthGB" > + <property name="enabled" > + <bool>false</bool> + </property> + <property name="sizePolicy" > + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>1</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="title" > + <string>Label Width</string> + </property> + <layout class="QGridLayout" > + <property name="margin" > + <number>9</number> + </property> + <property name="spacing" > + <number>6</number> + </property> + <item row="0" column="1" > + <widget class="QLineEdit" name="labelWidth" > + <property name="toolTip" > + <string>This text defines the width of the paragraph label</string> </property> - </item> - <item> - <property name="text" > - <string>Single</string> + </widget> + </item> + <item row="0" column="0" > + <widget class="QLabel" name="TextLabel2" > + <property name="toolTip" > + <string>This text defines the width of the paragraph label</string> </property> - </item> - <item> <property name="text" > - <string>1.5</string> + <string>&Longest label</string> </property> - </item> - <item> - <property name="text" > - <string>Double</string> + <property name="buddy" > + <cstring>labelWidth</cstring> </property> - </item> - <item> - <property name="text" > - <string>Custom</string> - </property> - </item> - </widget> - </item> - <item> - <widget class="QLineEdit" name="linespacingValue" > - <property name="enabled" > - <bool>false</bool> - </property> - </widget> - </item> - </layout> + </widget> + </item> + </layout> + </widget> </item> <item row="1" column="0" > <widget class="QGroupBox" name="aligmentGB" > @@ -273,52 +230,95 @@ </layout> </widget> </item> - <item row="3" column="0" > - <widget class="QGroupBox" name="labelwidthGB" > - <property name="enabled" > - <bool>false</bool> + <item row="0" column="0" > + <layout class="QHBoxLayout" > + <property name="margin" > + <number>0</number> </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>1</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <property name="spacing" > + <number>6</number> </property> - <property name="title" > - <string>Label Width</string> - </property> - <layout class="QGridLayout" > - <property name="margin" > - <number>9</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item row="0" column="1" > - <widget class="QLineEdit" name="labelWidth" > - <property name="toolTip" > - <string>This text defines the width of the paragraph label</string> + <item> + <widget class="QLabel" name="linespacingL" > + <property name="text" > + <string>L&ine spacing:</string> + </property> + <property name="buddy" > + <cstring>linespacing</cstring> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="linespacing" > + <item> + <property name="text" > + <string>Default</string> </property> - </widget> - </item> - <item row="0" column="0" > - <widget class="QLabel" name="TextLabel2" > - <property name="toolTip" > - <string>This text defines the width of the paragraph label</string> + </item> + <item> + <property name="text" > + <string>Single</string> </property> + </item> + <item> <property name="text" > - <string>&Longest label</string> + <string>1.5</string> </property> - <property name="buddy" > - <cstring>labelWidth</cstring> + </item> + <item> + <property name="text" > + <string>Double</string> </property> - </widget> - </item> - </layout> - </widget> + </item> + <item> + <property name="text" > + <string>Custom</string> + </property> + </item> + </widget> + </item> + <item> + <widget class="QLineEdit" name="linespacingValue" > + <property name="enabled" > + <bool>false</bool> + </property> + </widget> + </item> + </layout> </item> + <item row="2" column="0" > + <layout class="QHBoxLayout" > + <property name="margin" > + <number>0</number> + </property> + <property name="spacing" > + <number>6</number> + </property> + <item> + <widget class="QCheckBox" name="indentCB" > + <property name="text" > + <string>Indent &Paragraph</string> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType" > + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" > + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> </layout> </widget> <tabstops>