summaryrefslogtreecommitdiff
path: root/Userland/Applications/HexEditor/HexEditorWindow.gml
blob: 0b7a4e89ee8075bd933a6e4710675c9ba421bd06 (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
@GUI::Widget {
    name: "main"
    fill_with_background_color: true
    layout: @GUI::VerticalBoxLayout {
        spacing: 2
    }

    @GUI::ToolbarContainer {
        name: "toolbar_container"

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

    @GUI::HorizontalSplitter {
        opportunistic_resizee: "First"

        @HexEditor::HexEditor {
            name: "editor"
        }

        @GUI::VerticalSplitter {
            name: "side_panel_container"
            visible: false

            @GUI::Widget {
                name: "search_results_container"
                visible: false
                layout: @GUI::VerticalBoxLayout {}

                @GUI::TableView {
                    name: "search_results"
                }
            }

            @GUI::Widget {
                name: "value_inspector_container"
                visible: false
                layout: @GUI::VerticalBoxLayout {}

                @GUI::TableView {
                    name: "value_inspector"
                    activates_on_selection: true
                }
            }
        }
    }

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