Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Brian CI
28,971 PointsiOS Crystal Ball - Text doesn't wrap in the prediction
I must have missed a step, I added the lines but still my text doesn't wrap. It was saying for:
"This is a too long prediction"
"This is a too…"
So I did the obvious thing and set "Line Breaks" to "Word Wrap" now I have the same result without "…".
What did I do wrong and how do I fix it?
Thanks
3 Answers

Amit Bijlani
Treehouse Guest TeacherIn the Implementing an array video at 6:10 you can see how to increase the number of lines in your label.

Brian CI
28,971 PointsI have already done that, when two didn't do it I increased it to four lines. Then when that didn't do I changed line breaks to to "Word Wrap" and it still doesn't work.

Amit Bijlani
Treehouse Guest TeacherThe only thing you are missing is increasing the height of the label. Without adequate height it has no room to wrap long text onto the second or even third line.

Brian CI
28,971 PointsThat was it thanks.

Brian CI
28,971 PointsThis is what I get: http://s13.postimg.org/b5v0c7hxj/image.png with "Word Wrap" enabled it just removes the …