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:
parent
4edc33b4a6
commit
48122e29c3
3 changed files with 33 additions and 32 deletions
29
Userland/Applications/ThemeEditor/Previews/WindowPreview.gml
Normal file
29
Userland/Applications/ThemeEditor/Previews/WindowPreview.gml
Normal 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"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue