summaryrefslogtreecommitdiff
path: root/Userland/Applications/DisplaySettings/FontSettings.gml
blob: dfcf4343974f2847acc4eb6eb7cb261e3d04ac62 (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
@GUI::Widget {
    fill_with_background_color: true
    layout: @GUI::VerticalBoxLayout {
        margins: [8]
        spacing: 8
    }

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

        @GUI::Label {
            fixed_width: 100
            text: "Default font:"
            text_alignment: "CenterLeft"
        }

        @GUI::Label {
            background_role: "Base"
            shadow: "Sunken"
            shape: "Container"
            thickness: 2
            fill_with_background_color: true
            name: "default_font_label"
        }

        @GUI::Button {
            text: "..."
            name: "default_font_button"
            fixed_width: 30
        }
    }

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

        @GUI::Label {
            fixed_width: 100
            text: "Window title font:"
            text_alignment: "CenterLeft"
        }

        @GUI::Label {
            background_role: "Base"
            shadow: "Sunken"
            shape: "Container"
            thickness: 2
            fill_with_background_color: true
            name: "window_title_font_label"
        }

        @GUI::Button {
            text: "..."
            name: "window_title_font_button"
            fixed_width: 30
        }
    }

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

        @GUI::Label {
            fixed_width: 100
            text: "Fixed-width font:"
            text_alignment: "CenterLeft"
        }

        @GUI::Label {
            background_role: "Base"
            shadow: "Sunken"
            shape: "Container"
            thickness: 2
            fill_with_background_color: true
            name: "fixed_width_font_label"
        }

        @GUI::Button {
            text: "..."
            name: "fixed_width_font_button"
            fixed_width: 30
        }
    }

    @GUI::Layout::Spacer {}
}