Commit 8acf11c4 authored by Karl Ove Hufthammer's avatar Karl Ove Hufthammer

Improved layout for preference dialog.

Widgets are now next to their labels, instead of in a separate
column (which moved them very far away from the labels, since
the dialog had some very long strings).
parent a2994e82
......@@ -51,30 +51,34 @@
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="l1">
<property name="toolTip">
<string>Set to 2 to disable word completion</string>
</property>
<property name="text">
<string>Minimum word length for word completion</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="kcfg_WordCompletionLength">
<property name="toolTip">
<string>Set to 2 to disable word completion</string>
</property>
<property name="specialValueText">
<string>Disable word completion</string>
</property>
<property name="minimum">
<number>2</number>
</property>
<property name="maximum">
<number>20</number>
</property>
</widget>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="l1">
<property name="toolTip">
<string>Set to 2 to disable word completion</string>
</property>
<property name="text">
<string>Minimum word length for word completion</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="kcfg_WordCompletionLength">
<property name="toolTip">
<string>Set to 2 to disable word completion</string>
</property>
<property name="specialValueText">
<string>Disable word completion</string>
</property>
<property name="minimum">
<number>2</number>
</property>
<property name="maximum">
<number>20</number>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
......
......@@ -43,21 +43,32 @@
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>Maximum number of suggestions:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QSpinBox" name="kcfg_SuggCount" >
<property name="toolTip" >
<string>Set the maximum number of suggestions</string>
</property>
<property name="whatsThis" >
<string>You can change the maximum number of suggestions, default is 7.</string>
</property>
</widget>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<string>Maximum number of suggestions:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="kcfg_SuggCount" >
<property name="toolTip" >
<string>Set the maximum number of suggestions</string>
</property>
<property name="whatsThis" >
<string>You can change the maximum number of suggestions, default is 7.</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</spacer>
</item>
</layout>
</item>
<item row="2" column="0" >
<widget class="QCheckBox" name="kcfg_AutoaddTM" >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment