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:
parent
e4412f1f59
commit
c9196995be
3 changed files with 49 additions and 7 deletions
|
@ -53,6 +53,10 @@
|
|||
fixed_height: 16
|
||||
}
|
||||
|
||||
@GUI::SpinBox {
|
||||
name: "size_spin_box"
|
||||
}
|
||||
|
||||
@GUI::ListView {
|
||||
name: "size_list_view"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue