• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Collapse NSSplitView pane programatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Collapse NSSplitView pane programatically (From: Dustin Wenz <email@hidden>)

  • Prev by Date: NSOutlineView vertical cell alignments
  • Next by Date: Re: Collapse NSSplitView pane programatically
  • Previous by thread: Collapse NSSplitView pane programatically
  • Next by thread: Re: Collapse NSSplitView pane programatically
  • Index(es):
    • Date
    • Thread