Re: Auto Resize Views Issues
Re: Auto Resize Views Issues
- Subject: Re: Auto Resize Views Issues
- From: Keary Suska <email@hidden>
- Date: Tue, 7 Apr 2009 10:51:51 -0600
On Apr 7, 2009, at 8:22 AM, I. Savant wrote:
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.
I would add to this that I found that if views overlapped when their
container view was shrunk (to any size that would cause views to
overlap, not just to 0), when the container view grows the subviews
would get placed in apparently undefined ways. This may be an
"overlapping views" issue.
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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