AliSoftware / AliSoftware/OHAttributedLabel

UILineBreakMode*Truncation modes (leading/trailing "…") and multiline

Ouverte
#3 22 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Apple Bug
Langage dominant
Objective-C
Étoiles
1.5k
Forks
341
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Word Wrapping and Truncation is not well managed.

Today the OHAttributed does not support both multiline (numberOfLines>1) and "Truncation" lineBreakMode alltogether : if you choose one of the UILineBreakMode*Truncation mode, only the first line will be displayed.

It is probably easy to add the UILineBreakModeTailTruncation mode support by using the VisibleStringRange information (I just don't have time to add this right now)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.