1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 06:17:34 +00:00

HexEditor: Add 'Go to Offset...' dialog

This commit is contained in:
Brendan Coles 2021-05-23 08:36:30 +00:00 committed by Andreas Kling
parent dd6921bfc6
commit efef77a154
7 changed files with 276 additions and 22 deletions

View file

@ -0,0 +1,63 @@
@GUI::Widget {
name: "main"
fixed_width: 300
fixed_height: 80
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
spacing: 2
margins: [0, 0, 0, 0]
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
spacing: 2
margins: [2, 2, 2, 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, 2, 2, 2]
}
@GUI::Label {
text: "From"
text_alignment: "CenterLeft"
fixed_width: 50
}
@GUI::ComboBox {
name: "offset_from"
fixed_width: 100
}
}
@GUI::Statusbar {
name: "statusbar"
label_count: 2
}
}