On 13.07.2009, at 15:59, I. Savant wrote:

My guess: I think because you're removing (with or without animation) the bottom field / label, you're changing the autosizing behavior of the content view's contents while it's being moved around.


On 14.07.2009, at 04:37, Peter N Lewis wrote:

One thing that may trip you up is auto resizing. Consider disabling it or making sure it is behaving properly.


To check this, I made an extremely simplified version that only has an empty window with the disclosure button and nothing else. I switched off the window's content view's "autoresize subviews" option and enabled its CA layer backing option:

    http://www.entropy.ch/git/calayer-resize-test.git

Even in this setup, the windows's contents (which consist only of the disclosure button) jump up and down during the animation. It seems enabling CA layer backing is really not an option.

I tried the flipped content view, that didn’t help either.

Its ridiculously painful isn't it?

Indeed... Thanks for the MGViewAnimation hint, that looks promising and I’ll try using that instead...



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to