1
Fork 0
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:
Stephan Unverwerth 2021-01-03 15:10:48 +01:00 committed by Andreas Kling
parent 85158dc0ad
commit 972c7cf9f4

View file

@ -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);
}
}
});