Kyle Sluder wrote:
On Tue, Apr 29, 2008 at 3:59 AM, Yann Disser <[EMAIL PROTECTED]> wrote:
Giving a minimum size to my drawer worked.

 However I think this absolutely is a bug. I would expect my views to vanish
if the window is made too small and to reappear normally once the window is
again large enough.

There's certainly a large debate here that would involve, among other
things, whether it's ever valid for a view to disappear from resizing.
 Certainly users do not expect that things other than split views can
be resized to nothingness.

Interesting that you point this out, because the same problem can occur with a split view—you can collapse a view to zero-sized, and then when you uncollapse it, all the views inside the split view have been jumbled up or shifted around.

Basically, this means that many split view combinations are not possible unless you rely on RBSplitView.

We've got an open radar on the larger issue (that shrinking a Cocoa view down to less-than-zero size causes it to permanently lose its position and size) and I think that if it were solved, it would make a lot of different things simpler to do in Cocoa without having to rely on outside classes like RBSplitView.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to