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 trialWill Matthews
8,127 PointsWhy use leading and trailing space attributes in the constraints instead of left and right?
I'm curious why we use the leading and trailing attributes in the constraints for the purple and blue views. My (novice) understanding of the difference of leading/trailing and left/right is that left/right are the actual sides while leading/trailing varies based on the reading direction of the language selected by the user.
So wouldn't the leading/trailing attribute approach break if the language was set to a right-to-left language?