Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

autoresizingmask function not showing in Interface Builder?

I want to deal with autoresizingmasks, but for some reason I can't get the dialogue to show up. The size inspector of my IB looks like this:

enter image description here

When I click on another inspector--attributes, connections, etc.--the autoresizingmasks dialogue/inspector appears for an instant (not long enough for me to grab a screen shot), only to be replaced by whatever inspector I've clicked on. I assume I've got some setting or other toggled that I need to untoggle, but poking around Xcode hasn't revealed it, and I haven't found this problem in other questions on Xcode. Obviously a very basic question, but can anybody help?

like image 394
Joel Derfner Avatar asked Dec 26 '22 12:12

Joel Derfner


1 Answers

File Inspector -> Interface Builder Document -> Use Autolayout[UNCHECK]

Autolayout is a new OSX7/iOS6 feature using Constraints (as you can see from that inspector)
- it replaces Autoresizing masks, but only works on OSX7+ and iOS6+

like image 113
foundry Avatar answered Jan 19 '23 17:01

foundry