View Full Version : NSView NSWindow resizing

Oct 9, 2009, 05:09 PM

i have a very simple application : just showing an empty window.

1- i add an IKImageView, when i change the size of window , it resizes itself.

2- then, i erase my IKImageView.
i add a custom view and i put IKImageView inside it.
when i change the size of the window, it no more changes its size.

all Auto sizing boxes are checked inside the nib.

what i have to do more in the second case please?

thank you

Oct 10, 2009, 12:33 AM
in " size section " of IB
each time one adding a view ( of any kind )
immediately better choose its resizing action to window

in " Autosizing " : just highlighten both axes INSIDE the rectangle which is the window