AliSoftware / OHAttributedLabel

UILabel that supports NSAttributedString
https://github.com/AliSoftware/OHAttributedLabel/wiki
1.51k stars 344 forks source link

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

Closed rscott78 closed 10 years ago

rscott78 commented 10 years ago

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 commented 10 years ago

Duplicate with #3