DescriptionFix 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. #
Messages
Total messages: 5 (0 generated)
|