12

How do I disable the stretching of the window at the bottom right? I would have to deal with auto-sizing and all that stuff, which would be unnecessary if I simply didn't allow the user to stretch the window size.

2 Answers2

18

First you should set the maximum width/height equal to the minimum width/height in IB:

enter image description here

Then you can disable the resize control by unchecking "Resize" in IB:

enter image description here

sudo rm -rf
  • 29,408
  • 19
  • 102
  • 161
  • Thanks! I will never forget this, I've been looking for this for a while. –  Oct 12 '11 at 22:45
4

Select the window in Interface Builder and uncheck the "Resize" checkbox in the Attributes Inspector panel

iain
  • 5,660
  • 1
  • 30
  • 51