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

Unified Diff: chrome/browser/ui/views/harmony/layout_delegate.h

Issue 2702403010: Fix the absence of padding on some UI buttons. (Closed)
Patch Set: change switch 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
Index: chrome/browser/ui/views/harmony/layout_delegate.h
diff --git a/chrome/browser/ui/views/harmony/layout_delegate.h b/chrome/browser/ui/views/harmony/layout_delegate.h
index 4f39146e0e803a2daf736d7a15ed0d0076d6226d..9841b67c9e3f24dfff94c554e74ac90936bda2eb 100644
--- a/chrome/browser/ui/views/harmony/layout_delegate.h
+++ b/chrome/browser/ui/views/harmony/layout_delegate.h
@@ -12,6 +12,8 @@ class LayoutDelegate {
enum class Metric {
// Padding on the left and right side of a button's label.
BUTTON_HORIZONTAL_PADDING,
+ // Default minimum width of a button.
+ BUTTON_MINIMUM_WIDTH,
// Margin between the edge of a dialog and the left, right, or bottom of a
// contained button.
DIALOG_BUTTON_MARGIN,

Powered by Google App Engine
This is Rietveld 408576698