forked from PyQt5/PyQt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
VerticalLayoutMargin.ui
62 lines (62 loc) · 1.46 KB
/
VerticalLayoutMargin.ui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>VerticalLayoutMargin</class>
<widget class="QWidget" name="VerticalLayoutMargin">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="styleSheet">
<string notr="true">#VerticalLayoutMargin {
background: #5aaadb;
}
#label {
background: #85c440;
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>50</number>
</property>
<property name="leftMargin">
<number>20</number>
</property>
<property name="topMargin">
<number>20</number>
</property>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>通过设置Margin和Spacing设置边距以及两个控件之间的间隔距离</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<property name="text">
<string>Spcasing 为 50</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_2">
<property name="text">
<string>Spcasing 为 50</string>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>