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

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

Issue 2671443002: Make the extra padding around VectorIconButtons configurable. (Closed)
Patch Set: Make sure Harmony close buttons stay in place 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 798a4401cbcb8cb825a5253737c29acfab57693a..5a240a25f35f9daefab250a3ae37c93f8ea9b52a 100644
--- a/ui/views/layout/layout_constants.h
+++ b/ui/views/layout/layout_constants.h
@@ -73,6 +73,9 @@ constexpr int kButtonHEdgeMarginNew = 20;
// Horizontal spacing between buttons that are logically related.
constexpr int kRelatedButtonHSpacing = 6;
+// Extra space around the buttons to increase their event target size.
+const int kButtonExtraTouchSize = 4;
+
// Indent of checkboxes relative to related text.
constexpr int kCheckboxIndent = 10;

Powered by Google App Engine
This is Rietveld 408576698