Commit a627dea6 authored by Andre Le's avatar Andre Le Committed by Commit Bot

ash: Resize label text in Status Tray feature pod to avoid truncation

Old UI:
https://screenshot.googleplex.com/1twKi3vamGm

New UI:
https://screenshot.googleplex.com/5o2mTDpZQyn

New UI works with long string:
https://screenshot.googleplex.com/M3yV8qPdsbL

Change-Id: Ic7fdb33f4e3d8f091ddef36a4ca6e5bea57e4fee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2255500Reviewed-by: default avatarTim Song <tengs@chromium.org>
Commit-Queue: Andre Le <leandre@chromium.org>
Cr-Commit-Position: refs/heads/master@{#781401}
parent 5ff7234f
...@@ -163,7 +163,7 @@ constexpr gfx::Size kUnifiedFeaturePodCollapsedSize(46, 46); ...@@ -163,7 +163,7 @@ constexpr gfx::Size kUnifiedFeaturePodCollapsedSize(46, 46);
constexpr gfx::Insets kUnifiedFeaturePodIconPadding(4); constexpr gfx::Insets kUnifiedFeaturePodIconPadding(4);
constexpr gfx::Insets kUnifiedFeaturePodHoverPadding(2); constexpr gfx::Insets kUnifiedFeaturePodHoverPadding(2);
constexpr int kUnifiedFeaturePodVectorIconSize = 20; constexpr int kUnifiedFeaturePodVectorIconSize = 20;
constexpr int kUnifiedFeaturePodLabelWidth = 80; constexpr int kUnifiedFeaturePodLabelWidth = 85;
constexpr int kUnifiedFeaturePodSpacing = 6; constexpr int kUnifiedFeaturePodSpacing = 6;
constexpr int kUnifiedFeaturePodHoverCornerRadius = 4; constexpr int kUnifiedFeaturePodHoverCornerRadius = 4;
constexpr int kUnifiedFeaturePodVerticalPadding = 24; constexpr int kUnifiedFeaturePodVerticalPadding = 24;
......
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