Re: Auto Resize Views Issues
Re: Auto Resize Views Issues
- Subject: Re: Auto Resize Views Issues
- From: Kyle Sluder <email@hidden>
- Date: Tue, 7 Apr 2009 10:21:09 -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.
This is going to happen for views that don't support sizes all the way
down to (0, 0), and there might be some edge cases with autosizing
down near (0, 0) anyway. Perhaps you should consider using a fade
transition instead? Most people, when transitioning between sets of
subviews, use a crossfade. Or, if they're expanding the window frame
in response to showing/hiding a set of subviews, they animate the
window frame with a resize but fade the subset of controls.
I know it's not exactly what you wanted, but that's my advice.
--Kyle Sluder
_______________________________________________
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