Skip to content

Attributed label gets truncated when using non-Latin scripts and AutoLayout #12

Open
@runnersaw

Description

@runnersaw

When using non-Latin scripts (such as Arabic or Chinese), NIAttributedLabel's text can be truncated when using AutoLayout to let the label size itself.

To reproduce, constrain an NIAttributedLabel instance so that it's width is specified (i.e. to the left and right of the screen), and so that its height is unspecified (i.e. only to the top of the screen). When the NIAttributedLabel's text is Arabic, the text will be truncated.

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