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

Unified Diff: chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc

Issue 284753002: Add main axis alignment for BoxLayout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove set_spread_blank_space, rename to MainAxisAlignment Created 6 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
Index: chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
diff --git a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
index 33272c1da37ccadb90a18ff2e324e36c03da5397..7a611f50c361e740bba1855a07a98bb0c0002123 100644
--- a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
+++ b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
@@ -39,7 +39,8 @@ class PasswordRow : public views::View {
PasswordGenerationPopupView::kPasswordVerticalInset, 0));
views::BoxLayout* box_layout = new views::BoxLayout(
views::BoxLayout::kHorizontal, horizontal_border, 0, 0);
- box_layout->set_spread_blank_space(true);
+ box_layout->set_main_axis_alignment(
+ views::BoxLayout::MAIN_AXIS_ALIGNMENT_FILL);
SetLayoutManager(box_layout);
password_label_ = new views::Label(password, font_list);
« no previous file with comments | « ash/system/tray_accessibility.cc ('k') | chrome/browser/ui/views/message_center/message_center_widget_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698