Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Issue 343853002: Fix new avatar button appearance regressions. (Closed)

Created:
6 years, 6 months ago by msw
Modified:
6 years, 6 months ago
Reviewers:
noms (inactive), sky
CC:
chromium-reviews, tfarina, Elliot Glaysher
Visibility:
Public.

Description

Fix new avatar button appearance regressions. Fix the NewAvatarButton's border inset values. Replace the halo color with shadowing. Disable subpixel rendering for the button text. Use the default alignment (left) instead of right. Add LabelButton text shadow and subpixel setters. Apply label shadows in LabelButton::GetPreferredSize. Invalidate the Label size when shadows are set. Apply the shadow margins in Label text sizing. Remove unused Label halo code; update the example. See pics from before the regression and after this CL: http://crbug.com/155363#c111 BUG=155363 TEST=New Avatar button looks good. R=noms@chromium.org,sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278432

Patch Set 1 #

Patch Set 2 : Fix insets, shadow setter, and add subpixel setting. #

Patch Set 3 : Remove unused label halo code; update example. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -40 lines) Patch
M chrome/browser/ui/views/profiles/new_avatar_button.cc View 1 6 chunks +13 lines, -18 lines 0 comments Download
M ui/views/controls/button/label_button.h View 1 1 chunk +5 lines, -2 lines 0 comments Download
M ui/views/controls/button/label_button.cc View 1 3 chunks +8 lines, -3 lines 0 comments Download
M ui/views/controls/label.h View 1 2 3 chunks +5 lines, -7 lines 0 comments Download
M ui/views/controls/label.cc View 1 2 3 chunks +2 lines, -6 lines 0 comments Download
M ui/views/examples/label_example.cc View 1 2 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
msw
Please take a look; thanks!
6 years, 6 months ago (2014-06-19 03:18:17 UTC) #1
sky
LGTM
6 years, 6 months ago (2014-06-19 15:37:31 UTC) #2
msw
The CQ bit was checked by msw@chromium.org
6 years, 6 months ago (2014-06-19 15:54:41 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/343853002/40001
6 years, 6 months ago (2014-06-19 15:56:11 UTC) #4
commit-bot: I haz the power
6 years, 6 months ago (2014-06-19 18:25:42 UTC) #5
Message was sent while issue was closed.
Change committed as 278432

Powered by Google App Engine
This is Rietveld 408576698