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

Unified Diff: chrome/browser/ui/views/harmony/harmony_layout_provider.cc

Issue 2860953002: Harmony: Apply the upper bound on equal-sized button widths in DialogClientView. (Closed)
Patch Set: Make it 112, per http://crbug.com/671820#c19 Created 3 years, 8 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/harmony_layout_provider.cc
diff --git a/chrome/browser/ui/views/harmony/harmony_layout_provider.cc b/chrome/browser/ui/views/harmony/harmony_layout_provider.cc
index d9dbd4df5da70dd78248197499dd622738bf0c83..d11ef463049ec5123e53da85b29718e661878784 100644
--- a/chrome/browser/ui/views/harmony/harmony_layout_provider.cc
+++ b/chrome/browser/ui/views/harmony/harmony_layout_provider.cc
@@ -57,8 +57,8 @@ int HarmonyLayoutProvider::GetDistanceMetric(int metric) const {
2 * GetDistanceMetric(views::DISTANCE_BUTTON_HORIZONTAL_PADDING);
case views::DISTANCE_BUTTON_HORIZONTAL_PADDING:
return kHarmonyLayoutUnit;
- case DISTANCE_BUTTON_MAX_LINKABLE_WIDTH:
- return kHarmonyLayoutUnit * 8;
+ case views::DISTANCE_BUTTON_MAX_LINKABLE_WIDTH:
+ return kHarmonyLayoutUnit * 7;
case DISTANCE_RELATED_LABEL_HORIZONTAL:
return kHarmonyLayoutUnit;
case DISTANCE_SUBSECTION_HORIZONTAL_INDENT:

Powered by Google App Engine
This is Rietveld 408576698