mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00

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.
35 lines
667 B
Text
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 {}
|
|
}
|
|
}
|