Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Collapse NSSplitView pane programatically



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Collapse NSSplitView pane programatically (From: Dustin Wenz <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.