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 d15b870e722a2f36edcdf7fa17f635f31e88fee4..798b387385070cdb074fbaea93e5ee79ebd2cd7c 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 |
@@ -34,8 +34,7 @@ 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_main_axis_alignment( |
- views::BoxLayout::MAIN_AXIS_ALIGNMENT_FILL); |
+ box_layout->set_default_flex(1); |
SetLayoutManager(box_layout); |
password_label_ = new views::Label(password, font_list); |