You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Also seen this with Latin script for longer strings. Certain screen sizes show as truncated. Seems to be that NIAttributedLabel renders slightly larger than a UILabel with the same font. I wonder if it's being measured as a UILabel, but once rendered as a NIAttributedLabel it won't fit.
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.
The text was updated successfully, but these errors were encountered: