1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:47:36 +00:00

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

@ -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"