summaryrefslogtreecommitdiff
path: root/Userland/Applications/ThemeEditor/ThemeEditor.gml
blob: 022cced5a56103f7db8b277f8279c709a6d295e8 (plain)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
@GUI::Widget {
    layout: @GUI::VerticalBoxLayout

    fill_with_background_color: true
    @GUI::Frame {
        layout: @GUI::HorizontalBoxLayout

        name: "preview_frame"
    }

    @GUI::GroupBox {
        layout: @GUI::HorizontalBoxLayout {
            margins: [4, 4, 4, 4]
        }

        shrink_to_fit: true
        title: "Colors"
        @GUI::ComboBox {
            name: "color_combo_box"
            model_only: true
            fixed_width: 230
        }

        @GUI::ColorInput {
            name: "color_input"
        }
    }

    @GUI::GroupBox {
        layout: @GUI::HorizontalBoxLayout {
            margins: [4, 4, 4, 4]
        }

        shrink_to_fit: true
        title: "Alignments"
        @GUI::ComboBox {
            name: "alignment_combo_box"
            model_only: true
            fixed_width: 230
        }

        @GUI::ComboBox {
            name: "alignment_input"
        }
    }

    @GUI::GroupBox {
        layout: @GUI::HorizontalBoxLayout {
            margins: [4, 4, 4, 4]
        }

        shrink_to_fit: true
        title: "Flags"
        @GUI::ComboBox {
            name: "flag_combo_box"
            model_only: true
            fixed_width: 230
        }

        @GUI::Widget

        @GUI::CheckBox {
            name: "flag_input"
            fixed_width: 13
        }
    }

    @GUI::GroupBox {
        layout: @GUI::HorizontalBoxLayout {
            margins: [4, 4, 4, 4]
        }

        shrink_to_fit: true
        title: "Metrics"
        @GUI::ComboBox {
            name: "metric_combo_box"
            model_only: true
            fixed_width: 230
        }

        @GUI::SpinBox {
            name: "metric_input"
        }
    }

    @GUI::GroupBox {
        layout: @GUI::HorizontalBoxLayout {
            margins: [4, 4, 4, 4]
        }

        shrink_to_fit: true
        title: "Paths"
        @GUI::ComboBox {
            name: "path_combo_box"
            model_only: true
            fixed_width: 230
        }

        @GUI::TextBox {
            name: "path_input"
            mode: "Editable"
        }

        @GUI::Button {
            name: "path_picker_button"
            fixed_width: 20
            text: "..."
            tooltip: "Choose..."
        }
    }
}