mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-09 09:17:13 +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.
41 lines
681 B
Plaintext
41 lines
681 B
Plaintext
@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 {
|
|
}
|
|
|
|
}
|
|
}
|