serenity/Userland/Applications/ThemeEditor/Previews/WindowPreview.gml
Sam Atkins 48122e29c3 ThemeEditor: Convert the widget-preview layout to GML
This has the nice bonus of fixing the appearance of the status bar. :^)
2022-05-21 22:25:33 +02:00

30 lines
517 B
Plaintext

@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"
}
}