mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:48:11 +00:00

Use some of the recent features in LibGUI to simplify and tidy up the cell formatting interface. The widget layout API's are still not good enough to make this easy, but at least it's getting better.
40 lines
681 B
Text
40 lines
681 B
Text
@GUI::Widget {
|
|
name: "main"
|
|
fill_with_background_color: true
|
|
|
|
layout: @GUI::VerticalBoxLayout {
|
|
margins: [4, 4, 4, 4]
|
|
spacing: 4
|
|
}
|
|
|
|
@Spreadsheet::ConditionsView {
|
|
name: "conditions_view"
|
|
}
|
|
|
|
@GUI::Widget {
|
|
shrink_to_fit: true
|
|
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
spacing: 10
|
|
}
|
|
|
|
@GUI::Widget {
|
|
}
|
|
|
|
@GUI::Button {
|
|
name: "add_button"
|
|
text: "Add"
|
|
fixed_width: 70
|
|
}
|
|
|
|
@GUI::Button {
|
|
name: "remove_button"
|
|
text: "Remove"
|
|
fixed_width: 70
|
|
}
|
|
|
|
@GUI::Widget {
|
|
}
|
|
|
|
}
|
|
}
|