1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:24:57 +00:00
serenity/Userland/Applications/Spreadsheet/CondFormatting.gml
FrHun 8081a8a5de 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.
2022-06-10 21:26:06 +01:00

35 lines
667 B
Text

@GUI::Widget {
name: "main"
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
margins: [4]
spacing: 4
}
@Spreadsheet::ConditionsView {
name: "conditions_view"
}
@GUI::Widget {
shrink_to_fit: true
layout: @GUI::HorizontalBoxLayout {
spacing: 10
}
@GUI::Layout::Spacer {}
@GUI::Button {
name: "add_button"
text: "Add"
fixed_width: 70
}
@GUI::Button {
name: "remove_button"
text: "Remove"
fixed_width: 70
}
@GUI::Layout::Spacer {}
}
}