AliSoftware / AliSoftware/OHAttributedLabel

lineSpacing not working

Open
#188 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
1.5k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

here is my code:
OHParagraphStyle\* paragraphStyle = [OHParagraphStyle defaultParagraphStyle];
paragraphStyle.lineSpacing = 0;
paragraphStyle.textAlignment=kCTJustifiedTextAlignment;
[attributedString setParagraphStyle:paragraphStyle range:NSMakeRange(0, attributedString.length)];
cell.bodyOHAttributedLabel.attributedText = attributedString;

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.