summaryrefslogtreecommitdiff
path: root/Userland/Applications/HexEditor/GoToOffsetDialog.gml
blob: 9504757f9405f50c730c34047a06f7d7fe761d79 (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
@GUI::Widget {
    name: "main"
    fixed_width: 300
    fixed_height: 80
    fill_with_background_color: true
    layout: @GUI::VerticalBoxLayout {
        spacing: 2
        margins: [0]
    }

    @GUI::Widget {
        layout: @GUI::HorizontalBoxLayout {
            spacing: 2
            margins: [2]
        }

        @GUI::Label {
            text: "Offset"
            text_alignment: "CenterLeft"
            fixed_width: 50
        }

        @GUI::TextBox {
            name: "text_editor"
            fixed_width: 100
        }

        @GUI::ComboBox {
            name: "offset_type"
            fixed_width: 100
        }

        @GUI::Button {
            name: "go_button"
            text: "Go"
            fixed_width: 40
        }
    }

    @GUI::Widget {
        layout: @GUI::HorizontalBoxLayout {
            spacing: 2
            margins: [2]
        }

        @GUI::Label {
            text: "From"
            text_alignment: "CenterLeft"
            fixed_width: 50
        }

        @GUI::ComboBox {
            name: "offset_from"
            fixed_width: 100
        }
    }

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