Skip to content

Commit

Permalink
Bookmarks++: Decrease entry point power text size
Browse files Browse the repository at this point in the history
(cherry picked from commit acc4945)

Bug: 1448256
Change-Id: Iff78b7422dc59a81a7572f8bce98ef3ab8002f44
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4557931
Commit-Queue: Caroline Rising <corising@chromium.org>
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Caroline Rising <corising@chromium.org>
Auto-Submit: Emily Shack <emshack@chromium.org>
Cr-Original-Commit-Position: refs/heads/main@{#1148510}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4568042
Cr-Commit-Position: refs/branch-heads/5790@{#136}
Cr-Branched-From: 1d71a33-refs/heads/main@{#1148114}
  • Loading branch information
Emily Shack authored and Chromium LUCI CQ committed May 30, 2023
1 parent 51b308b commit 7cb79a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chrome/browser/ui/views/commerce/price_tracking_view.cc
Expand Up @@ -99,6 +99,9 @@ PriceTrackingView::PriceTrackingView(Profile* profile,
body_label_ = text_container->AddChildView(std::make_unique<views::Label>(
l10n_util::GetStringUTF16(body_string_id), label_style,
views::style::STYLE_SECONDARY));
if (power_bookmarks_side_panel_enabled) {
body_label_->SetFontList(body_label_->font_list().DeriveWithSizeDelta(-1));
}
body_label_->SetProperty(views::kMarginsKey,
gfx::Insets::TLBR(label_spacing, 0, 0, 0));
body_label_->SetMultiLine(true);
Expand Down

0 comments on commit 7cb79a0

Please sign in to comment.