Re: autosizing problem
Re: autosizing problem
- Subject: Re: autosizing problem
- From: John Stiles <email@hidden>
- Date: Tue, 29 Apr 2008 10:03:16 -0700
Kyle Sluder wrote:
On Tue, Apr 29, 2008 at 3:59 AM, Yann Disser <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden