mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 05:07:35 +00:00
HexEditor: Construct Find dialog from GML
This commit is contained in:
parent
7997c02b6c
commit
16094baffc
4 changed files with 65 additions and 25 deletions
46
Userland/Applications/HexEditor/FindDialog.gml
Normal file
46
Userland/Applications/HexEditor/FindDialog.gml
Normal file
|
@ -0,0 +1,46 @@
|
|||
@GUI::Widget {
|
||||
name: "main"
|
||||
fixed_width: 280
|
||||
fixed_height: 146
|
||||
fill_with_background_color: true
|
||||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
spacing: 2
|
||||
margins: [4, 4, 4, 4]
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout
|
||||
|
||||
@GUI::Label {
|
||||
text: "Value to find"
|
||||
fixed_width: 80
|
||||
text_alignment: "CenterLeft"
|
||||
}
|
||||
|
||||
@GUI::TextBox {
|
||||
name: "text_editor"
|
||||
fixed_height: 20
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::VerticalBoxLayout
|
||||
|
||||
name: "radio_container"
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout
|
||||
|
||||
@GUI::Button {
|
||||
name: "ok_button"
|
||||
text: "OK"
|
||||
}
|
||||
|
||||
@GUI::Button {
|
||||
name: "cancel_button"
|
||||
text: "Cancel"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue