Skip to content

Commit ed6130b

Browse files
author
Semyon Knyazev
committed
Fixed widget vertical spacing in LAPSv2 tab
1 parent b093c11 commit ed6130b

File tree

1 file changed

+73
-86
lines changed

1 file changed

+73
-86
lines changed

src/admc/tabs/laps_v2_tab.ui

Lines changed: 73 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,53 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>441</width>
10-
<height>399</height>
9+
<width>448</width>
10+
<height>428</height>
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
1414
<string>Form</string>
1515
</property>
1616
<layout class="QGridLayout" name="gridLayout_2">
17+
<item row="0" column="1">
18+
<spacer name="horizontalSpacer">
19+
<property name="orientation">
20+
<enum>Qt::Vertical</enum>
21+
</property>
22+
<property name="sizeHint" stdset="0">
23+
<size>
24+
<width>36</width>
25+
<height>268</height>
26+
</size>
27+
</property>
28+
</spacer>
29+
</item>
1730
<item row="0" column="0">
1831
<layout class="QGridLayout" name="gridLayout">
19-
<item row="7" column="0" colspan="2">
20-
<widget class="QLabel" name="admin_password_label">
32+
<item row="5" column="0" colspan="2">
33+
<widget class="QLabel" name="admin_name_label">
2134
<property name="text">
22-
<string>LAPS local admin account password:</string>
35+
<string>LAPS local admin account name:</string>
2336
</property>
2437
</widget>
2538
</item>
26-
<item row="1" column="0" colspan="2">
27-
<widget class="QLabel" name="password_expitation_label">
39+
<item row="9" column="0">
40+
<widget class="QPushButton" name="copy_password_button">
2841
<property name="text">
29-
<string>Current LAPS password expiration:</string>
42+
<string>Copy password</string>
3043
</property>
3144
</widget>
3245
</item>
33-
<item row="0" column="0" colspan="2">
34-
<widget class="QLabel" name="laps_label">
35-
<property name="text">
36-
<string>Local Administrator Password Solution</string>
46+
<item row="4" column="2">
47+
<widget class="QPushButton" name="expire_now_button">
48+
<property name="sizePolicy">
49+
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
50+
<horstretch>1</horstretch>
51+
<verstretch>0</verstretch>
52+
</sizepolicy>
3753
</property>
38-
</widget>
39-
</item>
40-
<item row="3" column="0" colspan="2">
41-
<widget class="QLabel" name="set_new_password_expiration_label">
4254
<property name="text">
43-
<string>Set new LAPS password expiration:</string>
55+
<string>Expire now</string>
4456
</property>
4557
</widget>
4658
</item>
@@ -51,32 +63,52 @@
5163
</property>
5264
</widget>
5365
</item>
54-
<item row="6" column="2" rowspan="3">
55-
<spacer name="horizontal_spacer">
66+
<item row="8" column="0" colspan="2">
67+
<widget class="QLineEdit" name="admin_password_lineedit">
68+
<property name="echoMode">
69+
<enum>QLineEdit::PasswordEchoOnEdit</enum>
70+
</property>
71+
<property name="readOnly">
72+
<bool>true</bool>
73+
</property>
74+
</widget>
75+
</item>
76+
<item row="10" column="1">
77+
<spacer name="verticalSpacer">
5678
<property name="orientation">
57-
<enum>Qt::Orientation::Horizontal</enum>
79+
<enum>Qt::Vertical</enum>
5880
</property>
5981
<property name="sizeHint" stdset="0">
6082
<size>
61-
<width>77</width>
62-
<height>78</height>
83+
<width>20</width>
84+
<height>40</height>
6385
</size>
6486
</property>
6587
</spacer>
6688
</item>
67-
<item row="6" column="0" colspan="2">
68-
<widget class="QLineEdit" name="admin_name_lineedit">
69-
<property name="readOnly">
70-
<bool>true</bool>
89+
<item row="7" column="0" colspan="2">
90+
<widget class="QLabel" name="admin_password_label">
91+
<property name="text">
92+
<string>LAPS local admin account password:</string>
7193
</property>
7294
</widget>
7395
</item>
74-
<item row="8" column="0" colspan="2">
75-
<widget class="QLineEdit" name="admin_password_lineedit">
76-
<property name="echoMode">
77-
<enum>QLineEdit::EchoMode::PasswordEchoOnEdit</enum>
96+
<item row="0" column="0" colspan="2">
97+
<widget class="QLabel" name="laps_label">
98+
<property name="text">
99+
<string>Local Administrator Password Solution</string>
78100
</property>
79-
<property name="readOnly">
101+
</widget>
102+
</item>
103+
<item row="4" column="0" colspan="2">
104+
<widget class="QDateTimeEdit" name="expiration_datetimeedit">
105+
<property name="sizePolicy">
106+
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
107+
<horstretch>2</horstretch>
108+
<verstretch>0</verstretch>
109+
</sizepolicy>
110+
</property>
111+
<property name="calendarPopup">
80112
<bool>true</bool>
81113
</property>
82114
</widget>
@@ -94,74 +126,29 @@
94126
</property>
95127
</widget>
96128
</item>
97-
<item row="4" column="2">
98-
<widget class="QPushButton" name="expire_now_button">
99-
<property name="sizePolicy">
100-
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
101-
<horstretch>1</horstretch>
102-
<verstretch>0</verstretch>
103-
</sizepolicy>
104-
</property>
129+
<item row="1" column="0" colspan="2">
130+
<widget class="QLabel" name="password_expitation_label">
105131
<property name="text">
106-
<string>Expire now</string>
107-
</property>
108-
</widget>
109-
</item>
110-
<item row="4" column="0" colspan="2">
111-
<widget class="QDateTimeEdit" name="expiration_datetimeedit">
112-
<property name="sizePolicy">
113-
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
114-
<horstretch>2</horstretch>
115-
<verstretch>0</verstretch>
116-
</sizepolicy>
117-
</property>
118-
<property name="calendarPopup">
119-
<bool>true</bool>
132+
<string>Current LAPS password expiration:</string>
120133
</property>
121134
</widget>
122135
</item>
123-
<item row="9" column="0">
124-
<widget class="QPushButton" name="copy_password_button">
136+
<item row="3" column="0" colspan="2">
137+
<widget class="QLabel" name="set_new_password_expiration_label">
125138
<property name="text">
126-
<string>Copy password</string>
139+
<string>Set new LAPS password expiration:</string>
127140
</property>
128141
</widget>
129142
</item>
130-
<item row="5" column="0" colspan="2">
131-
<widget class="QLabel" name="admin_name_label">
132-
<property name="text">
133-
<string>LAPS local admin account name:</string>
143+
<item row="6" column="0" colspan="2">
144+
<widget class="QLineEdit" name="admin_name_lineedit">
145+
<property name="readOnly">
146+
<bool>true</bool>
134147
</property>
135148
</widget>
136149
</item>
137150
</layout>
138151
</item>
139-
<item row="0" column="1">
140-
<spacer name="horizontalSpacer">
141-
<property name="orientation">
142-
<enum>Qt::Orientation::Horizontal</enum>
143-
</property>
144-
<property name="sizeHint" stdset="0">
145-
<size>
146-
<width>36</width>
147-
<height>268</height>
148-
</size>
149-
</property>
150-
</spacer>
151-
</item>
152-
<item row="1" column="0">
153-
<spacer name="vertical_spacer">
154-
<property name="orientation">
155-
<enum>Qt::Orientation::Vertical</enum>
156-
</property>
157-
<property name="sizeHint" stdset="0">
158-
<size>
159-
<width>378</width>
160-
<height>97</height>
161-
</size>
162-
</property>
163-
</spacer>
164-
</item>
165152
</layout>
166153
</widget>
167154
<resources/>

0 commit comments

Comments
 (0)