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

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: test_layout_provider.h, sanity checks, self-review: nit data member names Created 3 years, 7 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 | « chrome/browser/ui/views/harmony/chrome_layout_provider.cc ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « chrome/browser/ui/views/harmony/chrome_layout_provider.cc ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698