mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 03:47:35 +00:00
Maps: Add favorites panel with favorite places management
This commit is contained in:
parent
3acbffabf9
commit
5a7f43ad38
10 changed files with 421 additions and 13 deletions
42
Userland/Applications/Maps/FavoritesEditDialog.gml
Normal file
42
Userland/Applications/Maps/FavoritesEditDialog.gml
Normal file
|
@ -0,0 +1,42 @@
|
|||
@Maps::FavoritesEditDialog {
|
||||
fixed_width: 260
|
||||
fixed_height: 61
|
||||
fill_with_background_color: true
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [4]
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
fixed_height: 24
|
||||
layout: @GUI::HorizontalBoxLayout {}
|
||||
|
||||
@GUI::Label {
|
||||
text: "Name:"
|
||||
text_alignment: "CenterLeft"
|
||||
fixed_width: 30
|
||||
}
|
||||
|
||||
@GUI::TextBox {
|
||||
name: "name_textbox"
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
fixed_height: 24
|
||||
layout: @GUI::HorizontalBoxLayout {}
|
||||
|
||||
@GUI::Layout::Spacer {}
|
||||
|
||||
@GUI::DialogButton {
|
||||
name: "ok_button"
|
||||
text: "OK"
|
||||
fixed_width: 75
|
||||
}
|
||||
|
||||
@GUI::DialogButton {
|
||||
name: "cancel_button"
|
||||
text: "Cancel"
|
||||
fixed_width: 75
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue