Commit 5530e081 authored by scr@chromium.org's avatar scr@chromium.org

Enable line-wrapping for link text in the legal portion.

BUG=323263

Review URL: https://codereview.chromium.org/90253002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238321 0039d316-1c4b-4281-b951-d872f2087c98
parent 60233370
......@@ -1258,9 +1258,10 @@ void AutofillDialogViews::UpdateAccountChooser() {
const std::vector<gfx::Range>& link_ranges =
delegate_->LegalDocumentLinks();
for (size_t i = 0; i < link_ranges.size(); ++i) {
legal_document_view_->AddStyleRange(
link_ranges[i],
views::StyledLabel::RangeStyleInfo::CreateForLink());
views::StyledLabel::RangeStyleInfo link_range_info =
views::StyledLabel::RangeStyleInfo::CreateForLink();
link_range_info.disable_line_wrapping = false;
legal_document_view_->AddStyleRange(link_ranges[i], link_range_info);
}
}
......
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