AliSoftware / AliSoftware/OHAttributedLabel

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

Aperta
#3 22 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Apple Bug
Lingua principale
Objective-C
Stelle
1.5k
Fork
341
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.