summaryrefslogtreecommitdiff
path: root/Userland/Applications/ThemeEditor/ThemeEditor.gml
blob: 01fec60badb41ea3f61e2f60a1d976ac390b5d7c (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
@GUI::Widget {
    layout: @GUI::VerticalBoxLayout {}
    fill_with_background_color: true

    @GUI::Widget {
        layout: @GUI::HorizontalBoxLayout {}

        @GUI::Frame {
            layout: @GUI::HorizontalBoxLayout {}
            name: "preview_frame"
        }

        @GUI::TabWidget {
            name: "property_tabs"
        }
    }

    @GUI::Widget {
        name: "theme_override_controls"
        layout: @GUI::HorizontalBoxLayout {
            margins: [ 0, 4 ]
        }

        fixed_height: 30

        @GUI::Layout::Spacer {}

        @GUI::Button {
            name: "reset"
            text: "Reset to Previous System Theme"
            enabled: false
            fixed_width: 190
        }

        @GUI::Button {
            name: "apply"
            text: "Apply as System Theme"
            enabled: false
            fixed_width: 140
        }
    }
}