Skip to content

Commit 60d0db9

Browse files
committed
[DB Manager]Set dialog alignment instead of adding trailing spaces to labels
1 parent cb450fb commit 60d0db9

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

python/plugins/db_manager/ui/DlgQueryBuilder.ui

+10-7
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
<property name="fieldGrowthPolicy">
2525
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
2626
</property>
27+
<property name="labelAlignment">
28+
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
29+
</property>
2730
<item row="0" column="0">
2831
<widget class="QLabel" name="label">
2932
<property name="text">
@@ -44,7 +47,7 @@
4447
<item row="1" column="0">
4548
<widget class="QLabel" name="label_2">
4649
<property name="text">
47-
<string>Tables </string>
50+
<string>Tables</string>
4851
</property>
4952
</widget>
5053
</item>
@@ -105,7 +108,7 @@
105108
<item row="2" column="0">
106109
<widget class="QLabel" name="label_3">
107110
<property name="text">
108-
<string>Where </string>
111+
<string>Where</string>
109112
</property>
110113
</widget>
111114
</item>
@@ -156,7 +159,7 @@
156159
<x>0</x>
157160
<y>0</y>
158161
<width>250</width>
159-
<height>313</height>
162+
<height>291</height>
160163
</rect>
161164
</property>
162165
<attribute name="label">
@@ -266,8 +269,8 @@
266269
<rect>
267270
<x>0</x>
268271
<y>0</y>
269-
<width>250</width>
270-
<height>313</height>
272+
<width>154</width>
273+
<height>155</height>
271274
</rect>
272275
</property>
273276
<attribute name="label">
@@ -319,8 +322,8 @@
319322
<rect>
320323
<x>0</x>
321324
<y>0</y>
322-
<width>250</width>
323-
<height>313</height>
325+
<width>223</width>
326+
<height>122</height>
324327
</rect>
325328
</property>
326329
<attribute name="label">

0 commit comments

Comments
 (0)