Skip to content

Commit 9b22066

Browse files
DelazJnyalldawson
authored andcommitted
Place labels next to their corresponding options in North Arrow decoration
The "placement" and "Margin from edge" labels are currently inverted Also fix tabstops
1 parent db55088 commit 9b22066

File tree

1 file changed

+16
-21
lines changed

1 file changed

+16
-21
lines changed

src/ui/qgsdecorationnortharrowdialog.ui

+16-21
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>560</width>
10-
<height>234</height>
9+
<width>578</width>
10+
<height>259</height>
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
1414
<string>North Arrow Decoration</string>
1515
</property>
1616
<property name="windowIcon">
1717
<iconset>
18-
<normaloff>.</normaloff>.</iconset>
18+
<normaloff/>
19+
</iconset>
1920
</property>
2021
<layout class="QVBoxLayout" name="verticalLayout">
2122
<item>
@@ -74,16 +75,7 @@
7475
</item>
7576
<item row="2" column="2" colspan="3">
7677
<layout class="QHBoxLayout" name="horizontalLayout_26">
77-
<property name="leftMargin">
78-
<number>0</number>
79-
</property>
80-
<property name="topMargin">
81-
<number>0</number>
82-
</property>
83-
<property name="rightMargin">
84-
<number>0</number>
85-
</property>
86-
<property name="bottomMargin">
78+
<property name="margin">
8779
<number>0</number>
8880
</property>
8981
<item>
@@ -237,7 +229,7 @@
237229
</layout>
238230
</item>
239231
<item row="3" column="1">
240-
<widget class="QLabel" name="textLabel6">
232+
<widget class="QLabel" name="angleLabel">
241233
<property name="sizePolicy">
242234
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
243235
<horstretch>0</horstretch>
@@ -258,8 +250,8 @@
258250
</property>
259251
</widget>
260252
</item>
261-
<item row="4" column="1">
262-
<widget class="QLabel" name="textLabel8">
253+
<item row="5" column="1">
254+
<widget class="QLabel" name="placementLabel">
263255
<property name="text">
264256
<string>Placement</string>
265257
</property>
@@ -268,7 +260,7 @@
268260
</property>
269261
</widget>
270262
</item>
271-
<item row="5" column="1">
263+
<item row="4" column="1">
272264
<widget class="QLabel" name="lblMargin">
273265
<property name="minimumSize">
274266
<size>
@@ -429,16 +421,19 @@
429421
</customwidgets>
430422
<tabstops>
431423
<tabstop>grpEnable</tabstop>
424+
<tabstop>pbnChangeColor</tabstop>
425+
<tabstop>pbnChangeOutlineColor</tabstop>
426+
<tabstop>spinSize</tabstop>
432427
<tabstop>mSvgPathLineEdit</tabstop>
433428
<tabstop>mSvgSelectorBtn</tabstop>
434-
<tabstop>pbnChangeColor</tabstop>
435429
<tabstop>sliderRotation</tabstop>
436430
<tabstop>spinAngle</tabstop>
437-
<tabstop>cboPlacement</tabstop>
438-
<tabstop>spinVertical</tabstop>
431+
<tabstop>cboxAutomatic</tabstop>
439432
<tabstop>spinHorizontal</tabstop>
433+
<tabstop>spinVertical</tabstop>
440434
<tabstop>wgtUnitSelection</tabstop>
441-
<tabstop>cboxAutomatic</tabstop>
435+
<tabstop>cboPlacement</tabstop>
436+
<tabstop>buttonBox</tabstop>
442437
</tabstops>
443438
<resources/>
444439
<connections/>

0 commit comments

Comments
 (0)