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

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

Issue 2744463002: Add VectorIconButton functionality to ImageButton. (Closed)
Patch Set: WIP: use observer 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 620a28de6c6df48df58cb81d4c5c538b53f10c37..0ae019c7cbaf123f58a82a9f5a8b826511909fdd 100644
--- a/ui/views/layout/layout_constants.h
+++ b/ui/views/layout/layout_constants.h
@@ -76,6 +76,9 @@ const 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