• 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
Collapse NSSplitView pane programatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Collapse NSSplitView pane programatically
      • From: Philip Dow <email@hidden>
  • Prev by Date: Re: KVC broken in 10.4.4 on Intel?
  • Next by Date: Re: multiple iSight stream same time?
  • Previous by thread: Is anyone using chudStartRemotePerfMonitor on 10.4?
  • Next by thread: Re: Collapse NSSplitView pane programatically
  • Index(es):
    • Date
    • Thread