Skip to content

Commit 35f60ae

Browse files
author
timlinux
committed
Dont use form layout use grid layout (for #2121)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12209 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent cb320aa commit 35f60ae

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/plugins/scale_bar/pluginguibase.ui

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>270</width>
10-
<height>199</height>
9+
<width>342</width>
10+
<height>255</height>
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
@@ -18,8 +18,8 @@
1818
<normaloff/>
1919
</iconset>
2020
</property>
21-
<layout class="QVBoxLayout" name="verticalLayout">
22-
<item>
21+
<layout class="QGridLayout" name="gridLayout">
22+
<item row="0" column="0">
2323
<layout class="QFormLayout" name="formLayout">
2424
<property name="fieldGrowthPolicy">
2525
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
@@ -182,7 +182,7 @@
182182
</item>
183183
</layout>
184184
</item>
185-
<item>
185+
<item row="1" column="0">
186186
<widget class="QCheckBox" name="chkEnable">
187187
<property name="sizePolicy">
188188
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
@@ -198,7 +198,7 @@
198198
</property>
199199
</widget>
200200
</item>
201-
<item>
201+
<item row="2" column="0">
202202
<widget class="QCheckBox" name="chkSnapping">
203203
<property name="sizePolicy">
204204
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
@@ -214,7 +214,7 @@
214214
</property>
215215
</widget>
216216
</item>
217-
<item>
217+
<item row="3" column="0">
218218
<widget class="QDialogButtonBox" name="buttonBox">
219219
<property name="orientation">
220220
<enum>Qt::Horizontal</enum>

0 commit comments

Comments
 (0)