Explicitly set verticalSpacing in QFormLayouts of kcm kwindesktop
Without a set verticalSpacing in QFormLayout the code hits an assert in Qt.
This commit is contained in:
parent
72c76ce423
commit
f8e4dcc115
1 changed files with 9 additions and 0 deletions
|
@ -33,6 +33,9 @@
|
|||
<property name="fieldGrowthPolicy">
|
||||
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
||||
</property>
|
||||
<property name="verticalSpacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="numberLabel">
|
||||
<property name="whatsThis">
|
||||
|
@ -150,6 +153,9 @@
|
|||
<property name="fieldGrowthPolicy">
|
||||
<enum>QFormLayout::ExpandingFieldsGrow</enum>
|
||||
</property>
|
||||
<property name="verticalSpacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
|
@ -205,6 +211,9 @@
|
|||
<property name="fieldGrowthPolicy">
|
||||
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
||||
</property>
|
||||
<property name="verticalSpacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="hideLabel">
|
||||
<property name="text">
|
||||
|
|
Loading…
Reference in a new issue