Commit 13c534ff authored by estade@chromium.org's avatar estade@chromium.org

rAc: fix suggestion text line height on Views.

BUG=none

Review URL: https://chromiumcodereview.appspot.com/23526053

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223649 0039d316-1c4b-4281-b951-d872f2087c98
parent 8f66e206
......@@ -1060,13 +1060,13 @@ AutofillDialogViews::SuggestionView::SuggestionView(
decorated_->set_default_width_in_chars(15);
label_container->AddChildView(decorated_);
// TODO(estade): need to get the line height right.
label_line_2_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
label_line_2_->SetVisible(false);
label_line_2_->SetLineHeight(22);
label_line_2_->SetMultiLine(true);
AddChildView(label_line_2_);
SetLayoutManager(new views::BoxLayout(views::BoxLayout::kVertical, 0, 0, 0));
SetLayoutManager(new views::BoxLayout(views::BoxLayout::kVertical, 0, 0, 7));
}
AutofillDialogViews::SuggestionView::~SuggestionView() {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment