Re: Auto Resize Views Issues
Re: Auto Resize Views Issues
- Subject: Re: Auto Resize Views Issues
- From: "I. Savant" <email@hidden>
- Date: Tue, 7 Apr 2009 10:22:18 -0400
On Tue, Apr 7, 2009 at 9:56 AM, Rama Krishna <email@hidden> wrote:
> I get the animation all right. However all the sub view sizing and layout is
> disturbed. Some views appear above other views and so on.
>
> What is the proper way to animate a view from zero size to the desired size?
I believe this is a known issue with the autoresizing mechanism.
Specifically, autosizing behavior does not work correctly when a view
has been sized to 0,0. I don't believe there is a workaround for
animating the size of your view directly.
You could, however, use other "reveal the view" effects besides
resizing the whole thing ...
--
I.S.
_______________________________________________
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