1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:48:11 +00:00
serenity/Applications/Spreadsheet/CondFormatting.gml
Andreas Kling 7124e63711 Spreadsheet: Tidy up cell formatting dialog a bit
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.
2021-01-04 18:42:50 +01:00

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 {
}
}
}