mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 19:27:36 +00:00
Run: Improve UI consistency
This commit is contained in:
parent
033c14e574
commit
411622148a
3 changed files with 12 additions and 8 deletions
|
@ -2,12 +2,13 @@
|
|||
fill_with_background_color: true
|
||||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [10, 10, 10, 10]
|
||||
margins: [4, 4, 4, 4]
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
max_height: 32
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 10
|
||||
spacing: 16
|
||||
}
|
||||
|
||||
@GUI::ImageWidget {
|
||||
|
@ -22,7 +23,9 @@
|
|||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
margins: [4, 4, 4, 4]
|
||||
}
|
||||
|
||||
@GUI::Label {
|
||||
text: "Open:"
|
||||
|
@ -37,6 +40,7 @@
|
|||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout
|
||||
fixed_height: 22
|
||||
|
||||
// HACK: using an empty widget as a spacer
|
||||
@GUI::Widget
|
||||
|
@ -44,19 +48,19 @@
|
|||
@GUI::Button {
|
||||
name: "ok_button"
|
||||
text: "OK"
|
||||
fixed_width: 75
|
||||
fixed_width: 80
|
||||
}
|
||||
|
||||
@GUI::Button {
|
||||
name: "cancel_button"
|
||||
text: "Cancel"
|
||||
fixed_width: 75
|
||||
fixed_width: 80
|
||||
}
|
||||
|
||||
@GUI::Button {
|
||||
name: "browse_button"
|
||||
text: "Browse..."
|
||||
fixed_width: 75
|
||||
fixed_width: 80
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue