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

    @DisplaySettings::MonitorWidget {
        name: "monitor_widget"
        fixed_width: 304
        fixed_height: 201
    }

    @GUI::Widget {
        fixed_height: 20
    }

    @GUI::Label {
        shrink_to_fit: true
        fixed_height: 16
        text_alignment: "CenterLeft"
        text: "Select a background picture:"
    }

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

        @GUI::IconView {
            name: "wallpaper_view"
        }

        @GUI::Widget {
            shrink_to_fit: true
            layout: @GUI::VerticalBoxLayout {}

            @GUI::Button {
                name: "wallpaper_open_button"
                tooltip: "Select wallpaper from file system"
                text: "Browse..."
                shrink_to_fit: true
            }

            @GUI::Widget {
                fixed_height: 12
            }

            @GUI::Label {
                text: "Mode:"
                text_alignment: "CenterLeft"
                fixed_height: 16
            }

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

            @GUI::Widget {
                fixed_height: 12
            }

            @GUI::Label {
                text: "Color:"
                text_alignment: "CenterLeft"
                fixed_height: 16
            }

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