Re: Collapsing/expanding NSSplitView
Re: Collapsing/expanding NSSplitView
- Subject: Re: Collapsing/expanding NSSplitView
- From: Daniel Todd Currie <email@hidden>
- Date: Sun, 25 Jan 2004 14:40:27 -0800
As I understand it, the sizes of the constituent views of an
NSSplitView are set simply by adjusting the size of either of the
views. If you want to "collapse" the NSSplitView, just set the
width/height to 0 for the view you would like to hide. The API handles
the resizing of the other view.
// Daniel Currie
On 2004 Jan 25, at 13:55, Jeremy Dronfield wrote:
Can anyone point me in the direction of sample code for
programmatically expanding/collapsing split views? What I have in mind
as an ideal implementation is the "browse" subview in iTunes,
activated by a button.
There was a discussion of split view handling on this list about a
year ago, which gave the impression that several people were finding
the whole issue problematic. Have there been any improvements in
Panther?
-Jeremy
========================================
email@hidden
theLocustFarm.net:
- fractious fiction at http://freespace.virgin.net/jeremy.dronfield
========================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.