-
Notifications
You must be signed in to change notification settings - Fork 142
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
Multiline UILabel #95
Comments
Hi @NamtarR, can you share me a piece of your source code? Normally this should do the trick:
Just be sure that |
Sorry for such a long inactivity here.
|
Can you paste also your controls initialization, or all the file containing this section of code? |
@NamtarR did you found a solution? |
I am sorry for my long replies.
This is what I tried and for unknown reasons it did not work though looks fine. |
Hi @NamtarR, sorry for the long delay, by default a UILabel is single line, you must set it to multiline using Also, update your code to use |
Hello! Can't find a way of laying out a multiline UILabel properly.
Here is what I have:
The big label is a multiline label and should take all the space left after laying out the small label which has a fixed size.
Here is what I have tried:
The symptoms are all the same: the big one does get proper width but gets zero height. Or if I
FitSize() really does nothing at all even though the label has non-zero width. I have tried to call sizeToFit() method of UILabel but even so layout gets messed up.
I can't find out what am I doing wrong so please can you help me?
The text was updated successfully, but these errors were encountered: