Skip to content

Commit 29da7bb

Browse files
committed
[layouts][ux] Fix grid layout alignment of label properties
1 parent ac9a4ef commit 29da7bb

File tree

1 file changed

+57
-44
lines changed

1 file changed

+57
-44
lines changed

src/ui/layout/qgslayoutlabelwidgetbase.ui

Lines changed: 57 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -224,50 +224,6 @@
224224
</property>
225225
</widget>
226226
</item>
227-
<item row="5" column="0">
228-
<layout class="QGridLayout" name="gridLayout_3">
229-
<item row="0" column="0">
230-
<widget class="QRadioButton" name="mLeftRadioButton">
231-
<property name="text">
232-
<string>Left</string>
233-
</property>
234-
<attribute name="buttonGroup">
235-
<string notr="true">buttonGroup_2</string>
236-
</attribute>
237-
</widget>
238-
</item>
239-
<item row="0" column="3">
240-
<widget class="QRadioButton" name="mJustifyRadioButton">
241-
<property name="text">
242-
<string>Justify</string>
243-
</property>
244-
<attribute name="buttonGroup">
245-
<string notr="true">buttonGroup_2</string>
246-
</attribute>
247-
</widget>
248-
</item>
249-
<item row="0" column="2">
250-
<widget class="QRadioButton" name="mRightRadioButton">
251-
<property name="text">
252-
<string>Right</string>
253-
</property>
254-
<attribute name="buttonGroup">
255-
<string notr="true">buttonGroup_2</string>
256-
</attribute>
257-
</widget>
258-
</item>
259-
<item row="0" column="1">
260-
<widget class="QRadioButton" name="mCenterRadioButton">
261-
<property name="text">
262-
<string>Center</string>
263-
</property>
264-
<attribute name="buttonGroup">
265-
<string notr="true">buttonGroup_2</string>
266-
</attribute>
267-
</widget>
268-
</item>
269-
</layout>
270-
</item>
271227
<item row="7" column="0" colspan="2">
272228
<widget class="QLabel" name="mVerticalAlignementLabel">
273229
<property name="text">
@@ -324,6 +280,63 @@
324280
</item>
325281
</layout>
326282
</item>
283+
<item row="5" column="0" colspan="2">
284+
<layout class="QGridLayout" name="gridLayout_3">
285+
<item row="0" column="0">
286+
<widget class="QRadioButton" name="mLeftRadioButton">
287+
<property name="text">
288+
<string>Left</string>
289+
</property>
290+
<attribute name="buttonGroup">
291+
<string notr="true">buttonGroup_2</string>
292+
</attribute>
293+
</widget>
294+
</item>
295+
<item row="0" column="3">
296+
<widget class="QRadioButton" name="mJustifyRadioButton">
297+
<property name="text">
298+
<string>Justify</string>
299+
</property>
300+
<attribute name="buttonGroup">
301+
<string notr="true">buttonGroup_2</string>
302+
</attribute>
303+
</widget>
304+
</item>
305+
<item row="0" column="2">
306+
<widget class="QRadioButton" name="mRightRadioButton">
307+
<property name="text">
308+
<string>Right</string>
309+
</property>
310+
<attribute name="buttonGroup">
311+
<string notr="true">buttonGroup_2</string>
312+
</attribute>
313+
</widget>
314+
</item>
315+
<item row="0" column="1">
316+
<widget class="QRadioButton" name="mCenterRadioButton">
317+
<property name="text">
318+
<string>Center</string>
319+
</property>
320+
<attribute name="buttonGroup">
321+
<string notr="true">buttonGroup_2</string>
322+
</attribute>
323+
</widget>
324+
</item>
325+
<item row="0" column="4">
326+
<spacer name="horizontalSpacer">
327+
<property name="orientation">
328+
<enum>Qt::Horizontal</enum>
329+
</property>
330+
<property name="sizeHint" stdset="0">
331+
<size>
332+
<width>40</width>
333+
<height>20</height>
334+
</size>
335+
</property>
336+
</spacer>
337+
</item>
338+
</layout>
339+
</item>
327340
</layout>
328341
</widget>
329342
</item>

0 commit comments

Comments
 (0)