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

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

Issue 2744463002: Add VectorIconButton functionality to ImageButton. (Closed)
Patch Set: wip: address high-level comments Created 3 years, 9 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 98133510d1cb57289ddff493be26d8623a8c349f..7bfd85331fee207c1c72af2178b1f50a9d8fb891 100644
--- a/ui/views/layout/layout_constants.h
+++ b/ui/views/layout/layout_constants.h
@@ -76,6 +76,9 @@ constexpr int kCloseButtonMargin = 7;
// 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