Skip to content

Commit 17393bd

Browse files
committed
Clean up label engine dialog
1 parent a584a9a commit 17393bd

File tree

1 file changed

+60
-15
lines changed

1 file changed

+60
-15
lines changed

src/ui/qgsengineconfigdialog.ui

Lines changed: 60 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>406</width>
9+
<width>315</width>
1010
<height>298</height>
1111
</rect>
1212
</property>
@@ -18,6 +18,12 @@
1818
<layout class="QHBoxLayout" name="horizontalLayout">
1919
<item>
2020
<widget class="QLabel" name="label">
21+
<property name="sizePolicy">
22+
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
23+
<horstretch>0</horstretch>
24+
<verstretch>0</verstretch>
25+
</sizepolicy>
26+
</property>
2127
<property name="text">
2228
<string>Search method</string>
2329
</property>
@@ -74,12 +80,30 @@
7480
</item>
7581
<item>
7682
<widget class="QGroupBox" name="groupBox">
83+
<property name="sizePolicy">
84+
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
85+
<horstretch>0</horstretch>
86+
<verstretch>0</verstretch>
87+
</sizepolicy>
88+
</property>
89+
<property name="maximumSize">
90+
<size>
91+
<width>16777215</width>
92+
<height>16777215</height>
93+
</size>
94+
</property>
7795
<property name="title">
7896
<string>Number of candidates</string>
7997
</property>
8098
<layout class="QGridLayout" name="gridLayout">
8199
<item row="0" column="0">
82100
<widget class="QLabel" name="label_2">
101+
<property name="sizePolicy">
102+
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
103+
<horstretch>0</horstretch>
104+
<verstretch>0</verstretch>
105+
</sizepolicy>
106+
</property>
83107
<property name="text">
84108
<string>Point</string>
85109
</property>
@@ -90,6 +114,9 @@
90114
</item>
91115
<item row="0" column="1">
92116
<widget class="QSpinBox" name="spinCandPoint">
117+
<property name="alignment">
118+
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
119+
</property>
93120
<property name="minimum">
94121
<number>1</number>
95122
</property>
@@ -100,6 +127,12 @@
100127
</item>
101128
<item row="1" column="0">
102129
<widget class="QLabel" name="label_3">
130+
<property name="sizePolicy">
131+
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
132+
<horstretch>0</horstretch>
133+
<verstretch>0</verstretch>
134+
</sizepolicy>
135+
</property>
103136
<property name="text">
104137
<string>Line</string>
105138
</property>
@@ -110,6 +143,9 @@
110143
</item>
111144
<item row="1" column="1">
112145
<widget class="QSpinBox" name="spinCandLine">
146+
<property name="alignment">
147+
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
148+
</property>
113149
<property name="minimum">
114150
<number>1</number>
115151
</property>
@@ -120,6 +156,12 @@
120156
</item>
121157
<item row="2" column="0">
122158
<widget class="QLabel" name="label_4">
159+
<property name="sizePolicy">
160+
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
161+
<horstretch>0</horstretch>
162+
<verstretch>0</verstretch>
163+
</sizepolicy>
164+
</property>
123165
<property name="text">
124166
<string>Polygon</string>
125167
</property>
@@ -130,6 +172,9 @@
130172
</item>
131173
<item row="2" column="1">
132174
<widget class="QSpinBox" name="spinCandPolygon">
175+
<property name="alignment">
176+
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
177+
</property>
133178
<property name="minimum">
134179
<number>1</number>
135180
</property>
@@ -159,23 +204,10 @@
159204
</item>
160205
</layout>
161206
</item>
162-
<item>
163-
<spacer name="verticalSpacer">
164-
<property name="orientation">
165-
<enum>Qt::Vertical</enum>
166-
</property>
167-
<property name="sizeHint" stdset="0">
168-
<size>
169-
<width>20</width>
170-
<height>40</height>
171-
</size>
172-
</property>
173-
</spacer>
174-
</item>
175207
<item>
176208
<widget class="QCheckBox" name="chkShowAllLabels">
177209
<property name="text">
178-
<string>Show all labels for all layers (i.e. including colliding labels)</string>
210+
<string>Show all labels for all layers (with collisions)</string>
179211
</property>
180212
</widget>
181213
</item>
@@ -186,6 +218,19 @@
186218
</property>
187219
</widget>
188220
</item>
221+
<item>
222+
<spacer name="verticalSpacer_2">
223+
<property name="orientation">
224+
<enum>Qt::Vertical</enum>
225+
</property>
226+
<property name="sizeHint" stdset="0">
227+
<size>
228+
<width>20</width>
229+
<height>40</height>
230+
</size>
231+
</property>
232+
</spacer>
233+
</item>
189234
<item>
190235
<widget class="QDialogButtonBox" name="buttonBox">
191236
<property name="orientation">

0 commit comments

Comments
 (0)