Trouble with NSSplitView
Trouble with NSSplitView
- Subject: Trouble with NSSplitView
- From: Andre Masse <email@hidden>
- Date: Tue, 07 Oct 2008 17:41:30 -0400
Hi,
I have set up in IB a window with 3 split views. The main split view
(with a vertical divider) contains 2 splits (horizontal divider):
**************************************
* * 3 *
* 1 ********************************
* * *
* * *
******* 4 *
* * *
* 2 * *
**************************************
I'm using an NSViewController subclass (with an associated nib) for
each of the views. In the - windowDidLoad: method of my
NSWindowController subclass, I set dividers positions and add each
view, resizing it according to the size available in each pane. I'm
testing this interface so all views contain dummy controls:
1- has only buttons
2- has only a Date picker in calendar form
3- has a multiline text view (with scroller) and 2 buttons.
4- has a NSTableView
At launch, everything is good and I've no problem changing the
splitter's position between pane 1 and 2 or with the vertical divider.
Now, if I change the splitter's position between pane 3 and 4 all the
way up or down and back, the header of the NSTableView and the top of
the text view, become hidden (under the divider). I've tried many
combinations of resize/lock for these views in IB, played various
constants with -setAutoresizingMask:. No luck. Either I'm missing the
good one, or I'm in the wrong track. This is driving me nuts, any
advice on getting the good combination?
Thanks,
Andre Masse
_______________________________________________
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