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 authored and Tim Flynn committed 2022-09-29 08:31:15 -04:00
1 parent 7fda016217
commit a58d72656d
11 files changed
+13 -13

No files matched your search

@@ -40,7 +40,7 @@
fixed_height: 24
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::Button {
name: "ok_button"
@@ -23,7 +23,7 @@
fixed_height: 32
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::Button {
name: "add_new_domain_button"
@@ -84,7 +84,7 @@
shrink_to_fit: true
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::Button {
text: "Cancel"
@@ -100,7 +100,7 @@
fixed_width: 100
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
}
}
@@ -92,7 +92,7 @@
}
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::Widget {
fixed_height: 25
@@ -109,7 +109,7 @@
}
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
}
}
@@ -92,7 +92,7 @@
}
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::Widget {
fixed_height: 25
@@ -109,7 +109,7 @@
}
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
}
}
@@ -25,5 +25,5 @@
}
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
}
@@ -29,7 +29,7 @@
fixed_height: 60
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
}
@GUI::Widget {
@@ -86,7 +86,7 @@
layout: @GUI::HorizontalBoxLayout {}
max_height: 24
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::Button {
name: "ok_button"
@@ -71,7 +71,7 @@
fixed_height: 22
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::DialogButton {
name: "ok_button"
@@ -78,7 +78,7 @@
spacing: 6
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::DialogButton {
text: "OK"