Re: NSSplitView with multiple dividers
Re: NSSplitView with multiple dividers
- Subject: Re: NSSplitView with multiple dividers
- From: "email@hidden" <email@hidden>
- Date: Sun, 19 Sep 2010 19:55:08 +0100
On 19 Sep 2010, at 18:14, Geoffrey Holden wrote:
> I am trying to set up a window with three resizable panes. Currently, I have done this by dragging an NSSplitView into my window (in IB) and then dragging another NSSplitView into that:
>
> +NSSplitView
> |--+NSView
> | '-NSTableView
> |
> |--+NSView
> | '-NSSplitView
> |
>
I too did exactly the same the first time I tried this. But the solution is much easier.
In IB just draw another custom view onto the bottom or left edge of the NSSplitView.
A red line will appear to indicate that you have hit the sweet spot.
Drop the view and it will create another pane within the splitview.
Regards
Jonathan Mitchell
Developer
Mugginsoft LLP
http://www.mugginsoft.com_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden