summaryrefslogtreecommitdiff
path: root/Userland/Applications/DisplaySettings/ThemesSettings.gml
blob: a701c96ef6357dbc8a0ce703e091c80a7d1c3667 (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
@GUI::Widget {
    fill_with_background_color: true
    layout: @GUI::VerticalBoxLayout {
        margins: [8]
    }

    @GUI::GroupBox {
        layout: @GUI::VerticalBoxLayout {
            margins: [14, 14, 4]
        }
        title: "Window Theme"
        fixed_height: 294

        @GUI::Frame {
            layout: @GUI::HorizontalBoxLayout {}
            name: "preview_frame"
            fixed_width: 306
            fixed_height: 201
        }

        @GUI::Widget {
            fixed_height: 20
        }

        @GUI::Widget {
            preferred_height: "fit"
            layout: @GUI::HorizontalBoxLayout {}

            @GUI::Label {
                text: "Theme:"
                text_alignment: "CenterLeft"
                preferred_width: 95
            }

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

    @GUI::GroupBox {
        title: "Color Scheme"
        preferred_height: "fit"
        layout: @GUI::VerticalBoxLayout {
            margins: [14, 14, 14]
        }

        @GUI::CheckBox {
            name: "custom_color_scheme_checkbox"
            text: "Use a custom color scheme"
        }

        @GUI::ComboBox {
            name: "color_scheme_combo"
            enabled: "false"
        }
    }

    @GUI::GroupBox {
        layout: @GUI::VerticalBoxLayout {
            margins: [14, 14, 4]
        }
        title: "Cursor Theme"
        shrink_to_fit: true

        @GUI::Button {
            name: "cursor_themes_button"
            text: "Change in Mouse Settings..."
            fixed_width: 200
        }

        @GUI::Widget {
            fixed_height: 10
        }
    }
}