Re: Collapse NSSplitView pane programatically
Re: Collapse NSSplitView pane programatically
- Subject: Re: Collapse NSSplitView pane programatically
- From: Philip Dow <email@hidden>
- Date: Tue, 31 Jan 2006 11:46:51 +0100
Try RBSplitView instead: http://www.brockerhoff.net/src/rbs.html
He's created an open source, versatile, easy to use, interface-
builder compatible NSSplitView replacement.
-Phil
On Jan 31, 2006, at 1:30 AM, Dustin Wenz wrote:
I am attempting to collapse an NSSplitView pane by setting the
frame width (or height) to 0. When I shrink the frame, the pane
looks like it's collapsed but the SplitView will still return false
when I test it with isSubviewCollapsed. This is a problem when the
user resizes the parent window, because the "collapsed" pane will
start to creep outward again.
There are a handful of posts on the cocoa-dev list where people are
wrestling with NSSplitView trying to get it to do some fairly basic
stuff, so I really wonder if what I'm attempting to do is even
possible without subclassing.
- .Dustin Wenz
_______________________________________________
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
_______________________________________________
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