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

Can't get multi-line sizeToFit to work #160

Closed
rscott78 opened this issue Oct 1, 2013 · 1 comment
Closed

Can't get multi-line sizeToFit to work #160

rscott78 opened this issue Oct 1, 2013 · 1 comment

Comments

@rscott78
Copy link

rscott78 commented Oct 1, 2013

I've been using a UILabel in a view that's been working great for months. I've got to my XIB and changed the class to an OHAttributedLabel and my multi-line logic has suddenly stopped working.

For the UILabel I simply called sizeToFit and it worked the magic, however here that doesn't seem to be the case. I end up with a single line of text with "..."'s at the end.

Is there something special I should do to get it working?

@AliSoftware
Copy link
Owner

Duplicate with #3

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