Commit bda2056d authored by Balazs Engedy's avatar Balazs Engedy Committed by Commit Bot

Make title of WebAuthn dialogs multi-line.

In case of long relying party IDs, we should not truncate them.

Bug: 849323
Change-Id: Idbfb63866c54bd98b6a9006f47c59291a29bc4cc
Reviewed-on: https://chromium-review.googlesource.com/1183494Reviewed-by: default avatarJun Choi <hongjunchoi@chromium.org>
Commit-Queue: Balazs Engedy <engedy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#584905}
parent e4e4440f
......@@ -138,6 +138,7 @@ AuthenticatorRequestSheetView::CreateContentsBelowIllustration() {
auto title_label = std::make_unique<views::Label>(
model()->GetStepTitle(), views::style::CONTEXT_DIALOG_TITLE,
views::style::STYLE_PRIMARY);
title_label->SetMultiLine(true);
title_label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
contents->AddChildView(title_label.release());
......
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