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

LibGUI: Allow arbitrary font size in FontPicker

This commit adds a SpinBox to the FontPicker dialog to allow users to
set arbitrary font sizes (1 to 255 inclusive) for TTF fonts.
The SpinBox is only visible when the user is selecting a TTF font.
This commit is contained in:
James Triantafylos 2021-04-14 09:44:55 -04:00 committed by Linus Groh
parent e4412f1f59
commit c9196995be
3 changed files with 49 additions and 7 deletions

View file

@ -53,6 +53,10 @@
fixed_height: 16
}
@GUI::SpinBox {
name: "size_spin_box"
}
@GUI::ListView {
name: "size_list_view"
}