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! While you're at it, check out some resources Treehouse students have shared here.
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 trialTim Jensen
2,416 Pointsquestion about constraints?
My Label is broken in X-code mine act's like Pasans does at the start, however, after i add the trailing and leading space to 20 it just goes in one line and changes its width to 880.
Anyone else got this problem? I am follow him 100%
2 Answers
Holger Liesegang
50,595 PointsHi Tim,
You might want to have a look at your constraints in the size Inspector:
Marie Nipper
22,638 PointsYeah. I had the same problem even though I had everything exactly as shown in the video and the above image from Holger. After some time I figure out the issue. My issue was that the View overlay had an ambiguous sizing constraint. It required a constraint for X. It wanted a constraint for the trailing and leading edges even though we used the aspect ratio.
Either way, once that was done, I had no issue adding the constraints for the description.