Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

adjustsFontSizeToFitWidth in utilities pane in Xcode storyboard

Someone knows where to set adjustsFontSizeToFitWidth in the utilities (right) pane when editing the storyboard?

Thanks, Ox

like image 474
ox_ Avatar asked Oct 07 '14 14:10

ox_


2 Answers

Select your label in the storyboard, and set the drop down to Minimum Font Size. Then in the text field, enter the lowest size your label should drop to to try to fit the contents onscreen:

enter image description here

like image 158
Undo Avatar answered Nov 06 '22 14:11

Undo


Go to attributes inspector on your TextField and under minimum font size drop down menu there is a checkbox Adjust to Fit.

Update added picture.

UITextField attributes inspector

like image 1
Adi Pop Avatar answered Nov 06 '22 14:11

Adi Pop