Commit 471cb108 authored by Caroline Rising's avatar Caroline Rising Committed by Commit Bot

Update read later button horizontal alignment to match other bookmarks bar buttons.

Bug: 1109316
Change-Id: I65ff9feff3fff55a159eaf488c1a71cdbf29662a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2480803Reviewed-by: default avatarPeter Boström <pbos@chromium.org>
Commit-Queue: Caroline Rising <corising@chromium.org>
Cr-Commit-Position: refs/heads/master@{#818021}
parent 3c16c5b4
......@@ -29,6 +29,7 @@ ReadLaterButton::ReadLaterButton(Browser* browser)
GetViewAccessibility().OverrideHasPopup(ax::mojom::HasPopup::kMenu);
button_controller()->set_notify_action(
views::ButtonController::NotifyAction::kOnPress);
SetHorizontalAlignment(gfx::ALIGN_LEFT);
// We don't want to use ToolbarButton::SetHighlight here because it adds a
// border around the button.
LabelButton::SetText(l10n_util::GetStringUTF16(IDS_READ_LATER_TITLE));
......
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