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 trial
Christine Chang
1,917 PointsOrange line resulting from added constraints
In Designing the Main Screen (https://teamtreehouse.com/library/build-an-interactive-story-app-with-swift-2/navigating-through-an-adventure/designing-the-main-screen), at 4:20, the instructor adds a bottom constraint of 48 to a Button. After the constraint is added, an orange line labeled -4 appears below the button. What does the -4 indicate?
1 Answer
Anthony Boutinov
13,844 PointsIt means that the current position is 4 points off from the ideal position provided by the set constraints. When you click on Update Frame, the button will shift itself 4 points to fix it.