Re: Resizing subviews within NSSplitView programmatically
Re: Resizing subviews within NSSplitView programmatically
- Subject: Re: Resizing subviews within NSSplitView programmatically
- From: Ken Ferry <email@hidden>
- Date: Sun, 7 Nov 2004 05:04:07 -0500
Hi Ric,
On Fri, 5 Nov 2004 17:32:10 -0800, Frederick C. Lee
<email@hidden> wrote:
> Question: How can I programmatically adjust the two views so the user
> can actually see sub-view#1?
Take a look at -[NSSplitView adjustSubviews].
Now that you've looked at it, call -[NSView
resizeSubviewsWithOldSize:] instead. This will call -[NSSplitView
adjustSubviews] in the usual case, but will use the delegate method
-[<delegate> splitView:resizeSubviewsWithOldSize:] should it exist.
-Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden