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

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

Issue 13925019: fix GridLayout::CreatePanel for new style dialogs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: slight clean-up Created 7 years, 8 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
Index: ui/views/layout/layout_constants.h
diff --git a/ui/views/layout/layout_constants.h b/ui/views/layout/layout_constants.h
index 267c855830ecb55d584c6c47aadcee3d5b279318..3990acc9b0fdb89438ecdb63918b15b35006fe7f 100644
--- a/ui/views/layout/layout_constants.h
+++ b/ui/views/layout/layout_constants.h
@@ -62,6 +62,14 @@ const int kButtonVEdgeMargin = 9;
// left or right of a button.
const int kButtonHEdgeMargin = 13;
+// Vertical spacing between the edge of the window and the
+// top or bottom of a button (when using new style dialogs).
+const int kButtonVEdgeMarginNew = 20;
+
+// Vertical spacing between the edge of the window and the
+// left or right of a button (when using new style dialogs).
+const int kButtonHEdgeMarginNew = 20;
+
// Horizontal spacing between buttons that are logically related.
const int kRelatedButtonHSpacing = 6;

Powered by Google App Engine
This is Rietveld 408576698