DescriptionDo not break lines when width is not specified.
In case SetAllowCharacterBreak(true) is specified but width is not
specified yet, nobody can stop gfx::ElideRectangleText() to wrap
the text at very narrow width. But when the width is not specified,
the ideal lines is expected (so that the label can be layouted
based on the size).
BUG=469559
R=sky@chromium.org
TEST=the new test case covers
Committed: https://crrev.com/4672257ac71a14be683b4f5a4b54a402cf0e493b
Cr-Commit-Position: refs/heads/master@{#321854}
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|