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
Unexpected behaviour with UILabel.numberOfLines = 0 #41
Comments
Have you tried something like that?
|
@fabb I am doing that as a workaround (without subclassing, I think that's overkill), but the issue is that on iOS 9 with a UIStackView, setting the |
No issue, just juse an #available macro. |
Well the issue is it is no longer a drop in replacement, but I guess it'll have to do. |
This is strange. Can you try to compare the constraints generated on UIStackView and on TZStackView as well as the constraints added to your UILabels? There should be a difference, and if there is: this is a bug and I will try to fix it. |
Hm, you're right, |
Going to close this one out for inactivity |
I have a
TZStackView
hierarchy with a bunch ofUILabel
s in it. They havenumberOfLines = 0
. The problem is that if I attempt the same code withUIStackView
on iOS 9, orTZStackView
on iOS 9, theUILabel
s wrap. However withTZStackView
on iOS 8.x, the UILabel is ellipsized. Any thoughts on this?The text was updated successfully, but these errors were encountered: