Serenity Operating System
1@GUI::Widget {
2 fill_with_background_color: true
3 layout: @GUI::VerticalBoxLayout {
4 margins: [4, 4, 4, 4]
5 }
6
7 @GUI::Widget {
8 layout: @GUI::HorizontalBoxLayout {}
9
10 @GUI::Widget {
11 layout: @GUI::VerticalBoxLayout {}
12
13 @GUI::Label {
14 text: "Family:"
15 text_alignment: "CenterLeft"
16 fixed_height: 16
17 }
18
19 @GUI::ListView {
20 name: "family_list_view"
21 }
22 }
23
24 @GUI::Widget {
25 fixed_width: 100
26 layout: @GUI::VerticalBoxLayout {}
27
28 @GUI::Label {
29 text: "Style:"
30 text_alignment: "CenterLeft"
31 fixed_height: 16
32 }
33
34 @GUI::ListView {
35 name: "variant_list_view"
36 }
37 }
38
39 @GUI::Widget {
40 fixed_width: 80
41 layout: @GUI::VerticalBoxLayout {}
42
43 @GUI::Label {
44 text: "Size:"
45 text_alignment: "CenterLeft"
46 fixed_height: 16
47 }
48
49 @GUI::SpinBox {
50 name: "size_spin_box"
51 }
52
53 @GUI::ListView {
54 name: "size_list_view"
55 }
56 }
57 }
58
59 @GUI::GroupBox {
60 layout: @GUI::VerticalBoxLayout {}
61 title: "Sample text"
62 fixed_height: 80
63
64 @GUI::Label {
65 name: "sample_text_label"
66 text: "The quick brown fox jumps over the lazy dog."
67 }
68 }
69
70 @GUI::Widget {
71 fixed_height: 22
72 layout: @GUI::HorizontalBoxLayout {}
73
74 @GUI::Layout::Spacer {}
75
76 @GUI::DialogButton {
77 name: "ok_button"
78 text: "OK"
79 }
80
81 @GUI::DialogButton {
82 name: "cancel_button"
83 text: "Cancel"
84 }
85 }
86}