NSView NSWindow resizing

Discussion in 'Mac Programming' started by oneHande, Oct 9, 2009.

  1. macrumors newbie

    Joined:
    Oct 7, 2009
    #1
    hello,

    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
     
  2. thread starter macrumors newbie

    Joined:
    Oct 7, 2009
    #2
    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

    hmmm

    :apple:
     

Share This Page