Collapse NSSplitView pane programatically
Collapse NSSplitView pane programatically
- Subject: Collapse NSSplitView pane programatically
- From: Dustin Wenz <email@hidden>
- Date: Mon, 30 Jan 2006 18:30:06 -0600
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