summaryrefslogtreecommitdiff
path: root/Userland/Applications/ClockSettings/TimeZoneSettingsWidget.gml
blob: 8998009f89109b8a258bc15e1caea5972a8fc9f6 (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
@GUI::Frame {
    fill_with_background_color: true
    layout: @GUI::VerticalBoxLayout {
        margins: [10]
        spacing: 5
    }

    @GUI::GroupBox {
        title: "Time Zone Settings"
        layout: @GUI::VerticalBoxLayout {
            margins: [16, 8, 8]
            spacing: 14
        }

        @GUI::Label {
            text: "Change the system's time zone used for the clock and other applications."
            text_alignment: "TopLeft"
        }

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

            @GUI::Label {
                text: "Time Zone:"
                fixed_width: 80
                name: "time_zone_label"
                text_alignment: "CenterLeft"
            }

            @GUI::ComboBox {
                name: "time_zone_input"
                max_visible_items: 24
            }
        }

        @GUI::ImageWidget {
            name: "time_zone_map"
            auto_resize: true
        }
    }
}