Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit ec327e6

Browse files
committed
Remotes Module: cleanup UI for "Remotes" dialog
Extended options need some cleanup to appear correctly aligned.
1 parent b89e462 commit ec327e6

File tree

1 file changed

+45
-59
lines changed

1 file changed

+45
-59
lines changed

Modules/Remotes/RemotesWdgt.ui

Lines changed: 45 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -6,74 +6,60 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>342</width>
9+
<width>328</width>
1010
<height>81</height>
1111
</rect>
1212
</property>
13-
<property name="windowTitle">
14-
<string>Form</string>
15-
</property>
1613
<layout class="QGridLayout" name="gridLayout">
17-
<item row="0" column="0" colspan="2">
18-
<layout class="QHBoxLayout" name="horizontalLayout">
19-
<item>
20-
<widget class="QLabel" name="label_3">
21-
<property name="sizePolicy">
22-
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
23-
<horstretch>0</horstretch>
24-
<verstretch>0</verstretch>
25-
</sizepolicy>
26-
</property>
27-
<property name="text">
28-
<string>Git Remote</string>
29-
</property>
30-
<property name="alignment">
31-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
32-
</property>
33-
</widget>
34-
</item>
35-
<item>
36-
<widget class="QComboBox" name="txtRemotes">
37-
<property name="toolTip">
38-
<string>&lt;p&gt;Select the Git Remote, you like to edit.&lt;br/&gt;&lt;/p&gt;
14+
<item row="0" column="0">
15+
<widget class="QLabel" name="label_3">
16+
<property name="sizePolicy">
17+
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
18+
<horstretch>0</horstretch>
19+
<verstretch>0</verstretch>
20+
</sizepolicy>
21+
</property>
22+
<property name="text">
23+
<string>Git Remote</string>
24+
</property>
25+
<property name="alignment">
26+
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
27+
</property>
28+
</widget>
29+
</item>
30+
<item row="0" column="1">
31+
<widget class="QComboBox" name="txtRemotes">
32+
<property name="toolTip">
33+
<string>&lt;p&gt;Select the Git Remote, you like to edit.&lt;br/&gt;&lt;/p&gt;
3934
&lt;p&gt;Tip: Double-Click to rename a selected Remote.&lt;/b&gt;
4035
</string>
41-
</property>
42-
</widget>
43-
</item>
44-
<item>
45-
<widget class="QToolButton" name="btnAddRemote">
46-
<property name="toolTip">
47-
<string>Add a new Remote.</string>
48-
</property>
49-
<property name="text">
50-
<string>+</string>
51-
</property>
52-
</widget>
53-
</item>
54-
<item>
55-
<widget class="QToolButton" name="btnDeleteRemote">
56-
<property name="enabled">
57-
<bool>false</bool>
58-
</property>
59-
<property name="toolTip">
60-
<string>Delete this Remote.</string>
61-
</property>
62-
<property name="text">
63-
<string>-</string>
64-
</property>
65-
</widget>
66-
</item>
67-
</layout>
36+
</property>
37+
</widget>
38+
</item>
39+
<item row="0" column="2">
40+
<widget class="QToolButton" name="btnAddRemote">
41+
<property name="toolTip">
42+
<string>Add a new Remote.</string>
43+
</property>
44+
<property name="text">
45+
<string>+</string>
46+
</property>
47+
</widget>
6848
</item>
69-
<item row="1" column="0" colspan="2">
70-
<widget class="Line" name="line">
71-
<property name="orientation">
72-
<enum>Qt::Horizontal</enum>
49+
<item row="0" column="3">
50+
<widget class="QToolButton" name="btnDeleteRemote">
51+
<property name="enabled">
52+
<bool>false</bool>
53+
</property>
54+
<property name="toolTip">
55+
<string>Delete this Remote.</string>
56+
</property>
57+
<property name="text">
58+
<string>-</string>
7359
</property>
7460
</widget>
7561
</item>
76-
<item row="2" column="0">
62+
<item row="1" column="0" alignment="Qt::AlignRight">
7763
<widget class="QLabel" name="label_2">
7864
<property name="sizePolicy">
7965
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
@@ -92,7 +78,7 @@
9278
</property>
9379
</widget>
9480
</item>
95-
<item row="2" column="1">
81+
<item row="1" column="1" colspan="3">
9682
<widget class="LineEdit" name="txtUrl">
9783
<property name="mandatory" stdset="0">
9884
<bool>true</bool>

0 commit comments

Comments
 (0)