We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
代码:
let lab = YYLabel() lab.numberOfLines = 4 lab.isVerticalForm = true lab.textVerticalAlignment = .top lab.exclusionPaths = [UIBezierPath.init(rect: .zero)] lab.preferredMaxLayoutWidth = adapt_size(300) lab.backgroundColor = .randomColor
当文本小于4行时,正常展示;超过4行时,第四行整体顶部对齐只有 "..." , 文字被省略,期望是第四行 "xxxxxxx ..."
The text was updated successfully, but these errors were encountered:
No branches or pull requests
代码:
当文本小于4行时,正常展示;超过4行时,第四行整体顶部对齐只有 "..." , 文字被省略,期望是第四行 "xxxxxxx ..."
The text was updated successfully, but these errors were encountered: