summaryrefslogtreecommitdiff
path: root/Userland/Applications/Run
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/Run
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/Run')
-rw-r--r--Userland/Applications/Run/Run.gml3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Applications/Run/Run.gml b/Userland/Applications/Run/Run.gml
index 5f2fd0ca20..0ac27a4b68 100644
--- a/Userland/Applications/Run/Run.gml
+++ b/Userland/Applications/Run/Run.gml
@@ -41,8 +41,7 @@
layout: @GUI::HorizontalBoxLayout {}
fixed_height: 22
- // HACK: using an empty widget as a spacer
- @GUI::Widget {}
+ @GUI::Layout::Spacer {}
@GUI::Button {
name: "ok_button"