Commit 77d569ef authored by Dominic Mazzoni's avatar Dominic Mazzoni Committed by Commit Bot

Left-align body text in Caret Browsing dialog

This looks better and better matches the mock.

Bug: 1108114
Change-Id: I7f31c856bfe66b7d3fb4d4ae277ac633e8517295
AX-Relnotes: N/A
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2357855
Auto-Submit: Dominic Mazzoni <dmazzoni@chromium.org>
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#798517}
parent 65320494
...@@ -48,6 +48,7 @@ CaretBrowsingDialogDelegate::CaretBrowsingDialogDelegate( ...@@ -48,6 +48,7 @@ CaretBrowsingDialogDelegate::CaretBrowsingDialogDelegate(
auto* message_label = AddChildView(std::make_unique<views::Label>( auto* message_label = AddChildView(std::make_unique<views::Label>(
message_text, views::style::CONTEXT_MESSAGE_BOX_BODY_TEXT)); message_text, views::style::CONTEXT_MESSAGE_BOX_BODY_TEXT));
message_label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
message_label->SetMultiLine(true); message_label->SetMultiLine(true);
do_not_ask_checkbox_ = AddChildView(std::make_unique<views::Checkbox>( do_not_ask_checkbox_ = AddChildView(std::make_unique<views::Checkbox>(
......
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