Re: NSSplitView can't expand once collapsed

2008-11-12 Thread Qi Liu
Hi all, From apple leopard's release notes, I find this: http://developer.apple.com/releasenotes/Cocoa/AppKit.html#NSSplitView NSSplitView now uses -[NSView setHidden:] when collapsing and uncollapsing a subview instead of setting the origin of the subview's frame somewhere far, far way.

Re: NSSplitView can't expand once collapsed

2008-11-11 Thread Qi Liu
Hi, At first, I think just as you mentioned, and I want to file a bug too. But the view being collapsed is not actually being collapsed, it is just being set *HIDDEN*, and its size remains unchanged. Suppose the splitview is horizontal and we have 2 views, leftView and rightView. We overrided