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

Unified Diff: chrome/browser/ui/views/translate/translate_bubble_view.cc

Issue 2094653003: fix padding problem by allow horizontal resizing on the cell for the multi line label (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/translate/translate_bubble_view.cc
diff --git a/chrome/browser/ui/views/translate/translate_bubble_view.cc b/chrome/browser/ui/views/translate/translate_bubble_view.cc
index ec0276836d235d4c1f4a4db8347360dd3664ba2f..a864fc18c69d7c66e4b3bb1b407094aebf2a1fb7 100644
--- a/chrome/browser/ui/views/translate/translate_bubble_view.cc
+++ b/chrome/browser/ui/views/translate/translate_bubble_view.cc
@@ -571,7 +571,7 @@ views::View* TranslateBubbleView::CreateViewBeforeTranslate() {
// Add padding between the text and the link.
cs->AddPaddingColumn(0, views::kRelatedButtonHSpacing);
}
- cs->AddColumn(GridLayout::LEADING, GridLayout::CENTER, 0,
+ cs->AddColumn(GridLayout::FILL, GridLayout::CENTER, 1,
GridLayout::USE_PREF, 0, 0);
cs->AddPaddingColumn(1, 0);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698