Skip to content

Commit 6fd3c10

Browse files
DelazJm-kuhn
authored andcommitted
Fix wording
Fully write the label because there's enough space + alignment
1 parent 6e3aba3 commit 6fd3c10

File tree

1 file changed

+19
-29
lines changed

1 file changed

+19
-29
lines changed

python/plugins/db_manager/db_plugins/postgis/plugins/versioning/DlgVersioning.ui

+19-29
Original file line numberDiff line numberDiff line change
@@ -11,68 +11,58 @@
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
14-
<string>Add versioning support to a table</string>
14+
<string>Add Versioning Support to a Table</string>
1515
</property>
1616
<layout class="QGridLayout" name="gridLayout_3">
1717
<item row="0" column="0" rowspan="2">
1818
<layout class="QVBoxLayout" name="verticalLayout">
1919
<item>
2020
<widget class="QLabel" name="label_4">
2121
<property name="text">
22-
<string>Table is expected to be empty, with a primary key.</string>
22+
<string>Table should be empty, with a primary key</string>
2323
</property>
2424
</widget>
2525
</item>
2626
<item>
2727
<layout class="QGridLayout" name="gridLayout">
28+
<item row="0" column="1">
29+
<widget class="QComboBox" name="cboSchema"/>
30+
</item>
2831
<item row="0" column="0">
2932
<widget class="QLabel" name="label_2">
3033
<property name="text">
3134
<string>Schema</string>
3235
</property>
3336
<property name="alignment">
34-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
37+
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
3538
</property>
3639
</widget>
3740
</item>
38-
<item row="0" column="1">
39-
<widget class="QComboBox" name="cboSchema"/>
40-
</item>
4141
<item row="1" column="0">
4242
<widget class="QLabel" name="label_3">
43+
<property name="sizePolicy">
44+
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
45+
<horstretch>0</horstretch>
46+
<verstretch>0</verstretch>
47+
</sizepolicy>
48+
</property>
4349
<property name="text">
4450
<string>Table</string>
4551
</property>
4652
<property name="alignment">
47-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
53+
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
4854
</property>
4955
</widget>
5056
</item>
5157
<item row="1" column="1">
5258
<widget class="QComboBox" name="cboTable"/>
5359
</item>
54-
<item row="0" column="2" rowspan="2">
55-
<spacer name="horizontalSpacer">
56-
<property name="orientation">
57-
<enum>Qt::Horizontal</enum>
58-
</property>
59-
<property name="sizeType">
60-
<enum>QSizePolicy::Preferred</enum>
61-
</property>
62-
<property name="sizeHint" stdset="0">
63-
<size>
64-
<width>40</width>
65-
<height>48</height>
66-
</size>
67-
</property>
68-
</spacer>
69-
</item>
7060
</layout>
7161
</item>
7262
<item>
7363
<widget class="QCheckBox" name="chkCreateCurrent">
7464
<property name="text">
75-
<string>create a view with current content (&lt;TABLE&gt;_current)</string>
65+
<string>Create a view with current content (&lt;TABLE&gt;_current)</string>
7666
</property>
7767
<property name="checked">
7868
<bool>true</bool>
@@ -88,10 +78,10 @@
8878
<item row="0" column="0">
8979
<widget class="QLabel" name="label_6">
9080
<property name="text">
91-
<string>Prim. key</string>
81+
<string>Primary key</string>
9282
</property>
9383
<property name="alignment">
94-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
84+
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
9585
</property>
9686
</widget>
9787
</item>
@@ -108,7 +98,7 @@
10898
<string>Start time</string>
10999
</property>
110100
<property name="alignment">
111-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
101+
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
112102
</property>
113103
</widget>
114104
</item>
@@ -125,7 +115,7 @@
125115
<string>End time</string>
126116
</property>
127117
<property name="alignment">
128-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
118+
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
129119
</property>
130120
</widget>
131121
</item>
@@ -157,7 +147,7 @@
157147
<item row="0" column="1">
158148
<widget class="QLabel" name="label_5">
159149
<property name="text">
160-
<string>SQL to be executed:</string>
150+
<string>SQL to be executed</string>
161151
</property>
162152
</widget>
163153
</item>

0 commit comments

Comments
 (0)