mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 09:36:08 +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
Notes:
sideshowbarker
2024-07-19 17:28:44 +09:00
Author: https://github.com/JTriantafylos 🔰
Commit: c9196995be
Pull-request: https://github.com/SerenityOS/serenity/pull/6320
Reviewed-by: https://github.com/danboid
Reviewed-by: https://github.com/linusg
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