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

iOS Build a Simple iPhone App with Swift Improving Our User Interface Finishing Up Our Layout

Mohamed Almulla
Mohamed Almulla
2,506 Points

When I change my device from iPhone 8 to iPhone 5s the text doesn't completely show?

I want to know how can I make the text show if I'm switching to different devices

1 Answer

Magnus Hållberg
Magnus Hållberg
17,232 Points

In the inspector there is an "Autoshrink" option for labels. If you for instance set it to "Minimum Font Scale" with the value of 0,5 the text will gradually shrink until it is half of the original size.

Mohamed Almulla
Mohamed Almulla
2,506 Points

Thank you very much! I really appreciate it!