Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

[ASTextNode] More refinements to the new font size adjuster behavior. #1356

Merged

Commits on Mar 9, 2016

  1. Fixed some text shrinking issues

    Previously I was multiplying the calculated height of the text by the scale factor. This fails in the case where we have a long string that doesn't fit, but it is shrunk so much that it now has more than enough room in the renderer's constrained size. In this case we fail to update the calculated size's width.
    
    Also updated `lineCountForString` in `ASTextKitFontSizeAdjuster` to reuse a sizer layout manager and text container.
    rcancro committed Mar 9, 2016
    Configuration menu
    Copy the full SHA
    bcb1832 View commit details
    Browse the repository at this point in the history