• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Auto Resize Views Issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Auto Resize Views Issues (From: "Rama Krishna" <email@hidden>)
 >Re: Auto Resize Views Issues (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: finder file size
  • Next by Date: Re: Floating window on top of everything
  • Previous by thread: Re: Auto Resize Views Issues
  • Next by thread: finder file size
  • Index(es):
    • Date
    • Thread