From cf302a386145a7e7d7cdc8d8fa87ddbd03ab3924 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sat, 18 Oct 2014 19:17:48 +0200 Subject: [PATCH] Appearance: Increase max font size to 24 and add 16 to the list. The list went up to 24 already, but was capped by the previous max size of 18. Adding 16 to the arbitrary list of font sizes closes the rather large gap between font sizes 14 and 18 that were already in the list. Providing a slider or text field for the font size would probably be better in the long run. --- src/preferences/appearance/FontSelectionView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/preferences/appearance/FontSelectionView.cpp b/src/preferences/appearance/FontSelectionView.cpp index 155beea268..aef72e24a7 100644 --- a/src/preferences/appearance/FontSelectionView.cpp +++ b/src/preferences/appearance/FontSelectionView.cpp @@ -36,7 +36,7 @@ // only on exit static const float kMinSize = 8.0; -static const float kMaxSize = 18.0; +static const float kMaxSize = 24.0; // private font API @@ -251,7 +251,7 @@ FontSelectionView::CreateFontsMenuBarLayoutItem() void FontSelectionView::_BuildSizesMenu() { - const int32 sizes[] = {7, 8, 9, 10, 11, 12, 13, 14, 18, 21, 24, 0}; + const int32 sizes[] = {7, 8, 9, 10, 11, 12, 13, 14, 16, 18, 21, 24, 0}; // build size menu for (int32 i = 0; sizes[i]; i++) {