Skip to content

Single-line resize does not create the proper textRect size #1

@ghost

Description

When numberOfLines = 1 and the text is automatically resized for being too small, the frame size is large enough to fit 2 lines of text (even though only 1 line is displayed).

What needs to be done is to change the textRectForBounds: method to pay attention to "numberOfLines" property, which it currently doesn't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions