mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
FontEditor: Allow application to launch without a font
Since LibFSAC requires a reified window before loading a font, it makes sense to have a safe null state for the app. This lets us stay alive after a failed file request on startup, handle failure at any point during initialization, and claw back memory from all our font RefPtrs. A default startup font or none at all can now be set in FontEditor.ini
This commit is contained in:
parent
aaf60053f1
commit
7fa8fae786
5 changed files with 127 additions and 20 deletions
|
@ -23,10 +23,13 @@
|
|||
|
||||
@FontEditor::GlyphEditorWidget {
|
||||
name: "glyph_editor_widget"
|
||||
visible: false
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
name: "width_control_container"
|
||||
preferred_height: "shrink"
|
||||
visible: false
|
||||
layout: @GUI::VerticalBoxLayout {}
|
||||
|
||||
@GUI::SpinBox {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue