DescriptionPrepare to use gfx::RenderText in views::Label.
Alter Label's API to support a RenderText implementation.
This has minimal functional changes to Label for now.
The Label rewrite to use RenderText will land separately.
Remove the generally unused Label::SetDirectionalityMode.
We should always use the text's directionality anyway.
(it seems like this was the case even for *FROM_UI...)
Also remove views::LabelButton::SetDirectionalityMode.
Fix LabelButton mutli-line preferred sizing and layout.
Add RenderText flag to swap newline chars for symbols.
(We don't want that for multi-line views::Label layout)
Add GetCurrentHorizontalAlignment ALIGN_HEAD helper.
Expose ElideBehavior and ShadowValues accessors.
Set the styles of the argument FontList in SetFontList.
(this is how Label transmits style information for now)
Fix partial-pixel treatment for centered alignment.
Update Message Center's InnerBoundedLabel Label subclass.
(minimal changes to keep it working with older paint path)
BUG=240037
TEST=Negligible appearance changes (better multi-line label centering).
R=sky@chromium.org,asvitkine@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284401
Patch Set 1 #Patch Set 2 : Revive CL with some progress. #Patch Set 3 : Multiline mostly working; other improvements. #Patch Set 4 : Fix TODOs, multiline SizeToFit, and gfx::Font styling. #Patch Set 5 : Remove obsolete unit tests; fix tooltip test. #Patch Set 6 : Fix elided preferred sizing; add basic multi-line eliding; etc. #Patch Set 7 : Remove AppList's CachedLabel; polish AppListItemView. #Patch Set 8 : Finishing touches; App List fixes; 'git cl format'. #Patch Set 9 : Fix multiline LabelButton layout and sizing. #
Total comments: 9
Patch Set 10 : Address comments; simplify app list changes. #
Total comments: 2
Patch Set 11 : Fix OnBoundsChanged handling. #
Total comments: 4
Patch Set 12 : Address comments. #Patch Set 13 : Sync and rebase. #Patch Set 14 : Revert Label implementation changes. #Messages
Total messages: 40 (0 generated)
|