summaryrefslogtreecommitdiff
path: root/Userland/Applications/Help/HelpWindow.gml
blob: 24067b5fdad322070ef428e6e68c5fcfd213de6a (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
@GUI::Widget {
    fill_with_background_color: true
    layout: @GUI::VerticalBoxLayout {
        spacing: 2
    }

    @GUI::ToolbarContainer {
        @GUI::Toolbar {
            name: "toolbar"
        }
    }

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

        @GUI::TabWidget {
            name: "tab_widget"
            preferred_width: 200
            container_margins: [6]

            @GUI::TreeView {
                name: "browse_view"
                title: "Browse"
            }

            @GUI::Widget {
                name: "search_container"
                title: "Search"
                layout: @GUI::VerticalBoxLayout {}

                @GUI::TextBox {
                    name: "search_box"
                    placeholder: "Search"
                }

                @GUI::ListView {
                    name: "search_view"
                }
            }
        }

        @WebView::OutOfProcessWebView {
            name: "web_view"
        }
    }

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