Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: ui/base/default_style.h

Issue 2200833006: MacViews: Bump up the default font sizes for dialogs to 12pt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/default_style.h
diff --git a/ui/base/default_style.h b/ui/base/default_style.h
index 49790af2a8ee66dfb40d054e269a8dcef0cb6275..cd031f9c55104d3de0b92ea91a661fdb9fe5d713 100644
--- a/ui/base/default_style.h
+++ b/ui/base/default_style.h
@@ -21,16 +21,15 @@ const int kMessageFontSizeDelta = 0;
// Default font size delta for dialog buttons, textfields, and labels.
#if defined(OS_MACOSX)
-// Cocoa dialogs prefer [NSFont smallSystemFontSize] for labels (typically 11pt
-// vs 13pt).
-const int kLabelFontSizeDelta = -2;
+// Aim for 12pt for Cocoa labels ([NSFont systemFontSize] is typically 13pt).
+const int kLabelFontSizeDelta = -1;
#else
const int kLabelFontSizeDelta = 0;
#endif
// Font size delta for dialog titles.
#if defined(OS_MACOSX)
-const int kTitleFontSizeDelta = 0;
+const int kTitleFontSizeDelta = 1;
#else
const int kTitleFontSizeDelta = 3;
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698