forked from PyQt5/PyQt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HorizontalLayoutMargin.ui
60 lines (60 loc) · 1.4 KB
/
HorizontalLayoutMargin.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
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>HorizontalLayoutMargin</class>
<widget class="QWidget" name="HorizontalLayoutMargin">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>457</width>
<height>216</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="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>20</number>
</property>
<property name="rightMargin">
<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_2">
<property name="text">
<string>Spcasing 为 20</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<property name="text">
<string>Spcasing 为 20</string>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>