Userland: Replace empty GUI::Widgets in GML with GUI::Layout::Spacer

This fixes the "Cancel" button on HackStudio's "New Project" dialog
being too small. It's also clearer what these actually are.
This commit is contained in:
Sam Atkins 2022-09-27 12:05:58 +01:00 committed by Tim Flynn
parent 7fda016217
commit a58d72656d
11 changed files with 13 additions and 13 deletions

View file

@ -40,7 +40,7 @@
fixed_height: 24
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::Button {
name: "ok_button"

View file

@ -23,7 +23,7 @@
fixed_height: 32
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::Button {
name: "add_new_domain_button"

View file

@ -84,7 +84,7 @@
shrink_to_fit: true
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::Button {
text: "Cancel"

View file

@ -100,7 +100,7 @@
fixed_width: 100
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
}
}

View file

@ -92,7 +92,7 @@
}
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::Widget {
fixed_height: 25
@ -109,7 +109,7 @@
}
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
}
}

View file

@ -92,7 +92,7 @@
}
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::Widget {
fixed_height: 25
@ -109,7 +109,7 @@
}
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
}
}

View file

@ -25,5 +25,5 @@
}
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
}

View file

@ -29,7 +29,7 @@
fixed_height: 60
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
}
@GUI::Widget {

View file

@ -86,7 +86,7 @@
layout: @GUI::HorizontalBoxLayout {}
max_height: 24
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::Button {
name: "ok_button"

View file

@ -71,7 +71,7 @@
fixed_height: 22
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::DialogButton {
name: "ok_button"

View file

@ -78,7 +78,7 @@
spacing: 6
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::DialogButton {
text: "OK"