1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:37:34 +00:00

FontEditor: Convert preview window to GML and propagate its errors

This commit is contained in:
thankyouverycool 2022-07-04 22:41:05 -04:00 committed by Andreas Kling
parent 7376c68652
commit 1b9dff5fb1
4 changed files with 69 additions and 48 deletions

View file

@ -0,0 +1,35 @@
@GUI::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
margins: [2]
}
@GUI::Frame {
layout: @GUI::VerticalBoxLayout {
margins: [4]
}
shape: "Box"
shadow: "Sunken"
thickness: 2
@GUI::Label {
name: "preview_label"
}
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {}
fixed_height: 22
@GUI::TextBox {
name: "preview_textbox"
placeholder: "Preview text"
}
@GUI::Button {
name: "reload_button"
icon: "/res/icons/16x16/reload.png"
fixed_width: 22
}
}
}