AliSoftware / AliSoftware/OHAttributedLabel

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

オープン
#3 コメント 22 件 リアクション 0 件 担当者 0 名 GitHub で見る
Apple Bug
主要言語
Objective-C
スター
1.5k
フォーク
341
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。