Use form layout

This commit is contained in:
Janek Bevendorff 2017-06-29 20:54:00 +02:00
parent 1158294323
commit e53ac65518

View File

@ -318,21 +318,35 @@
</widget> </widget>
</item> </item>
<item> <item>
<layout class="QGridLayout" name="gridLayout"> <layout class="QFormLayout" name="formLayout_2">
<property name="horizontalSpacing"> <property name="topMargin">
<number>12</number> <number>10</number>
</property> </property>
<property name="verticalSpacing"> <item row="1" column="0">
<number>6</number> <widget class="QLabel" name="autoTypeShortcutLabel_2">
</property> <property name="text">
<item row="1" column="0" alignment="Qt::AlignRight"> <string>Global Auto-Type shortcut</string>
<widget class="QLabel" name="autoTypeDelayLabel"> </property>
</widget>
</item>
<item row="1" column="1">
<widget class="ShortcutWidget" name="autoTypeShortcutWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="autoTypeDelayLabel_2">
<property name="text"> <property name="text">
<string>Auto-Type delay</string> <string>Auto-Type delay</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1" alignment="Qt::AlignLeft"> <item row="2" column="1">
<widget class="QSpinBox" name="autoTypeDelaySpinBox"> <widget class="QSpinBox" name="autoTypeDelaySpinBox">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
@ -354,32 +368,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0" alignment="Qt::AlignRight">
<widget class="QLabel" name="autoTypeShortcutLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Global Auto-Type shortcut</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="ShortcutWidget" name="autoTypeShortcutWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout> </layout>
</item> </item>
<item> <item>