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:
parent
7376c68652
commit
1b9dff5fb1
4 changed files with 69 additions and 48 deletions
35
Userland/Applications/FontEditor/FontPreviewWindow.gml
Normal file
35
Userland/Applications/FontEditor/FontPreviewWindow.gml
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue