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

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

Issue 2666803005: Position close buttons in bubbles based on a layout delegate constant. (Closed)
Patch Set: Remove extraneous brace Created 3 years, 11 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 5a240a25f35f9daefab250a3ae37c93f8ea9b52a..aac7264ddf00df46e6c0630e11a5817fd6a10fb1 100644
--- a/ui/views/layout/layout_constants.h
+++ b/ui/views/layout/layout_constants.h
@@ -70,6 +70,9 @@ constexpr int kButtonVEdgeMarginNew = 20;
// left or right of a button (when using new style dialogs).
constexpr int kButtonHEdgeMarginNew = 20;
+// Spacing between the edge of the window and the edge of the close button.
+const int kCloseButtonMargin = 7;
+
// Horizontal spacing between buttons that are logically related.
constexpr int kRelatedButtonHSpacing = 6;

Powered by Google App Engine
This is Rietveld 408576698