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

Unified Diff: ui/views/layout/layout_constants.h

Issue 1240193002: Tweaks to make the toolkit-views HTTP Auth dialog more Maccy on MAc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20150720-ViewsBrowser-DisableCertificateDialog-PLUS-BORDERS
Patch Set: Created 5 years, 5 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 | « ui/native_theme/native_theme_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/layout/layout_constants.h
diff --git a/ui/views/layout/layout_constants.h b/ui/views/layout/layout_constants.h
index 1cee4c00d6962d1cf78b1ac7e2cdb61f5b60316b..d3cf1d2b2753f3f6cbea9b60d6c73a6e7a528810 100644
--- a/ui/views/layout/layout_constants.h
+++ b/ui/views/layout/layout_constants.h
@@ -49,10 +49,18 @@ const int kUnrelatedControlHorizontalSpacing = 12;
const int kUnrelatedControlLargeHorizontalSpacing = 20;
// Vertical spacing between controls that are logically unrelated.
+#if defined(OS_MACOSX)
+const int kUnrelatedControlVerticalSpacing = 10;
+#else
const int kUnrelatedControlVerticalSpacing = 20;
+#endif
// Larger vertical spacing between unrelated controls.
+#if defined(OS_MACOSX)
+const int kUnrelatedControlLargeVerticalSpacing = 20;
+#else
const int kUnrelatedControlLargeVerticalSpacing = 30;
+#endif
// Vertical spacing between the edge of the window and the
// top or bottom of a button.
« no previous file with comments | « ui/native_theme/native_theme_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698