Disable window stretching Cocoa?
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. First you should set the maximum width/height equal to the minimum width/height in IB: Then you can disable the resize control by unchecking "Resize" in IB: Select the window in Interface Builder and uncheck the "Resize" checkbox in the Attributes Inspector panel 来源: https://stackoverflow.com/questions/7734503/disable-window-stretching-cocoa