mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:38:10 +00:00
LibGUI: Add some default sizes for TTF fonts in FontPicker
This commit is contained in:
parent
85158dc0ad
commit
972c7cf9f4
1 changed files with 9 additions and 0 deletions
|
@ -154,7 +154,16 @@ FontPicker::FontPicker(Window* parent_window, const Gfx::Font* current_font, boo
|
|||
m_sizes.append(font.presentation_size());
|
||||
});
|
||||
} else {
|
||||
m_sizes.append(8);
|
||||
m_sizes.append(10);
|
||||
m_sizes.append(12);
|
||||
m_sizes.append(14);
|
||||
m_sizes.append(16);
|
||||
m_sizes.append(18);
|
||||
m_sizes.append(20);
|
||||
m_sizes.append(22);
|
||||
m_sizes.append(24);
|
||||
m_sizes.append(36);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue