Krelborn / KILabel

A simple to use drop in replacement for UILabel for iOS 7 and above that highlights links such as URLs, twitter style usernames and hashtags and makes them touchable.
MIT License
470 stars 132 forks source link

Wrong Content Height Issue for no text #62

Open sumeet-k-gupta opened 8 years ago

sumeet-k-gupta commented 8 years ago

I am using KILablel in a UITableViewCell. I have set the height of the label to adjust as per the content using autolayout. Everything works fine in normal cases. However when the text is empty, the label still has a height with no content. On view debugging, it shows me the content height equivalent to 1 line of content. It makes the cells look bad since there is an empty space even though there isn't any content. If I am doing somethinng wrong or missing something please correct me.

ShawnBaek commented 8 years ago

I also had same issues!

QuyetND commented 7 years ago

I resolve it by change in KILabel.m :

sm-tester commented 5 years ago

I also had same issues!

sm-tester commented 5 years ago
image