summaryrefslogtreecommitdiff
path: root/Userland/Applications/CharacterMap/CharacterMapWindow.gml
blob: 6b82aeba65def1ba994ad3cb936dcea524cdc62a (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
@GUI::Frame {
    fill_with_background_color: true
    layout: @GUI::VerticalBoxLayout {}

    @GUI::ToolbarContainer {
        @GUI::Toolbar {
            layout: @GUI::HorizontalBoxLayout {
                spacing: 4
                margins: [0, 0, 0, 4]
            }
            name: "toolbar"

            @GUI::Label {
                text: "Font: "
                autosize: true
            }

            @GUI::Frame {
                background_role: "Base"
                fill_with_background_color: true
                fixed_height: 20
                layout: @GUI::VerticalBoxLayout {}

                @GUI::Label {
                    name: "font_name"
                    text: "Cool Font 16 400"
                }
            }
        }
    }

    @GUI::GlyphMapWidget {
        name: "glyph_map"
    }

    @GUI::Widget {
        shrink_to_fit: true
        layout: @GUI::HorizontalBoxLayout {
            spacing: 4
            margins: [0, 2, 0, 2]
        }

        @GUI::TextBox {
            name: "output_box"
        }

        @GUI::Button {
            name: "copy_output_button"
            icon: "/res/icons/16x16/edit-copy.png"
            fixed_width: 22
        }
    }

    @GUI::Statusbar {
        name: "statusbar"
    }
}