1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:57:35 +00:00

ThemeEditor: Convert the widget-preview layout to GML

This has the nice bonus of fixing the appearance of the status bar. :^)
This commit is contained in:
Sam Atkins 2022-05-10 14:43:36 +01:00 committed by Andreas Kling
parent 4edc33b4a6
commit 48122e29c3
3 changed files with 33 additions and 32 deletions

View file

@ -0,0 +1,29 @@
@GUI::Frame {
layout: @GUI::VerticalBoxLayout {}
@GUI::Widget {
layout: @GUI::VerticalBoxLayout {
margins: [8, 100, 8, 8]
}
@GUI::Button {
text: "Button"
}
@GUI::CheckBox {
text: "Check box"
}
@GUI::RadioButton {
text: "Radio button"
}
@GUI::TextEditor {
text: "Text editor\nwith multiple\nlines."
}
}
@GUI::Statusbar {
text: "Status bar"
}
}