Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode "Size to fit contents" disabled

Tags:

xcode

ios

resize

I am following the Stanford lectures on developing apps for iOS and I've run into a bit of a problem. The lecturer says to click on a label from the Document Outline and then go to Editor > Size to fit contents in order to remove the fixed size constraints. However my problem is that "Size to fit contents" is disabled and I cannot click it (see image).

disabled size to fit contents

Any idea what I'm doing wrong?

like image 412
MarkB Avatar asked Aug 03 '13 12:08

MarkB


1 Answers

I fixed the issue by dragging around the labels and resizing them (randomly) manually and then the option was enabled!

like image 150
MarkB Avatar answered Sep 28 '22 11:09

MarkB