summaryrefslogtreecommitdiff
path: root/Userland/Applications/CrashReporter
diff options
context:
space:
mode:
authorFrHun <28605587+frhun@users.noreply.github.com>2022-01-04 18:15:15 +0100
committerLinus Groh <mail@linusgroh.de>2022-06-10 21:26:06 +0100
commit8081a8a5de9ea54b18e21da9786652942f5b8439 (patch)
tree07c95e500eebeb8a4e11a16cb5dba54180525192 /Userland/Applications/CrashReporter
parentd1d5602132e937e259e7e4a5fd307769100b589c (diff)
downloadserenity-8081a8a5de9ea54b18e21da9786652942f5b8439.zip
LibGUI: Add layout spacer support to GML
This is a bit of a hack, but it is an easy way to finally get spacers into GML. This will translate well if spacers are later to become child objects of the continer widget.
Diffstat (limited to 'Userland/Applications/CrashReporter')
-rw-r--r--Userland/Applications/CrashReporter/CrashReporterWindow.gml3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Applications/CrashReporter/CrashReporterWindow.gml b/Userland/Applications/CrashReporter/CrashReporterWindow.gml
index f445776110..59928c04d2 100644
--- a/Userland/Applications/CrashReporter/CrashReporterWindow.gml
+++ b/Userland/Applications/CrashReporter/CrashReporterWindow.gml
@@ -94,8 +94,7 @@
fixed_width: 150
}
- // HACK: We need something like Layout::add_spacer() in GML! :^)
- @GUI::Widget {}
+ @GUI::Layout::Spacer {}
@GUI::Button {
name: "close_button"