mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:17:44 +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,7 @@ private:
|
|||
RefPtr<ListView> m_family_list_view;
|
||||
RefPtr<ListView> m_weight_list_view;
|
||||
RefPtr<ListView> m_size_list_view;
|
||||
RefPtr<SpinBox> m_size_spin_box;
|
||||
RefPtr<Label> m_sample_text_label;
|
||||
|
||||
Vector<String> m_families;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue