Skip to content
New issue

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

lineSpacing not working #188

Open
bsv-trungnguyen opened this issue Jun 25, 2015 · 1 comment
Open

lineSpacing not working #188

bsv-trungnguyen opened this issue Jun 25, 2015 · 1 comment

Comments

@bsv-trungnguyen
Copy link

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;

@huangjunsong
Copy link

Have you solved this problem?
@bsv-trungnguyen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants