diff options
author | FrHun <28605587+frhun@users.noreply.github.com> | 2022-01-04 18:15:15 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-06-10 21:26:06 +0100 |
commit | 8081a8a5de9ea54b18e21da9786652942f5b8439 (patch) | |
tree | 07c95e500eebeb8a4e11a16cb5dba54180525192 /Userland/Applications/Run | |
parent | d1d5602132e937e259e7e4a5fd307769100b589c (diff) | |
download | serenity-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.gml | 3 |
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" |