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

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

Issue 360213002: Add Flex to views::BoxLayout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 6 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
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..81a5617a87d95dbdd9c9ea03b54a2557615845f9 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->SetDefaultFlex(1);
SetLayoutManager(box_layout);
password_label_ = new views::Label(password, font_list);

Powered by Google App Engine
This is Rietveld 408576698