summaryrefslogtreecommitdiff
path: root/Userland/Applications/ThemeEditor/ThemeEditor.gml
blob: 475ae019f2d503295af121c5a4d3fad7407bc4fa (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
@GUI::Widget {
    layout: @GUI::VerticalBoxLayout {
        margins: [0, 4, 4]
        spacing: 6
    }
    fill_with_background_color: true

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

        @ThemeEditor::PreviewWidget {
            name: "preview_widget"
        }

        @GUI::TabWidget {
            name: "property_tabs"
            container_margins: [5]
        }
    }

    @GUI::Widget {
        name: "theme_override_controls"
        layout: @GUI::HorizontalBoxLayout {
            spacing: 6
        }
        preferred_height: "shrink"

        @GUI::Layout::Spacer {}

        @GUI::DialogButton {
            name: "reset_button"
            text: "Reset"
            enabled: false
        }

        @GUI::DialogButton {
            name: "apply_button"
            text: "Apply"
            enabled: false
        }
    }
}