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

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

Issue 2671443002: Make the extra padding around VectorIconButtons configurable. (Closed)
Patch Set: Resync Created 3 years, 10 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
« no previous file with comments | « ui/views/controls/button/vector_icon_button.cc ('k') | ui/views/views_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « ui/views/controls/button/vector_icon_button.cc ('k') | ui/views/views_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698