1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:37:35 +00:00

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.
This commit is contained in:
FrHun 2022-01-04 18:15:15 +01:00 committed by Linus Groh
parent d1d5602132
commit 8081a8a5de
13 changed files with 106 additions and 99 deletions

View file

@ -80,7 +80,7 @@
fixed_height: 22
layout: @GUI::HorizontalBoxLayout {}
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::Button {
name: "cancel_button"