[splitView setAutoresizingMask: (NSViewWidthSizable | NSViewHeightSizable)];
[splitView setAutoresizingMask: (NSViewWidthSizable | NSViewHeightSizable)];
- Subject: [splitView setAutoresizingMask: (NSViewWidthSizable | NSViewHeightSizable)];
- From: Greg Casey <email@hidden>
- Date: Thu, 12 Sep 2002 22:53:59 -0400
>
(**Sorry for the repost, I sent the original message via the wrong
>
account**)
>
Hi,
>
>
I'm creating an NSSplitView on the fly and adding it as a subview to a
>
view which already exists in the main window. Before adding it, I set
>
it's autoresizing mask so that it will have a flexible width and
>
flexible height, using the following syntax:
>
>
[splitView setAutoresizingMask: (NSViewWidthSizable |
>
NSViewHeightSizable)];
>
>
After setting it, I've done a quick check to make sure that it is set
>
correctly and it appears to be set to the value "18" which is the
>
correct combination. However, when I resize my window, the NSSplitView
>
does not resize with it even though it's superview does resize.
>
>
What am I doing wrong?
>
>
Thanks for your help!
>
>
-gtc
>
>
P.S. As a side note, it would be nice if NSSplitViews were added to
>
the IB palette.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.