AliSoftware / AliSoftware/OHAttributedLabel

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

Aberta
#3 22 comentários 0 reações 0 responsáveis Ver no GitHub
Apple Bug
Linguagem predominante
Objective-C
Estrelas
1.5k
Forks
341
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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)

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.