By "one content view," do you mean a view inside the window's content view? It appears to do the same thing. The resizing animation works when it has a layer, but then again the same thing happens with the content view having a layer.

On Jul 27, 2008, at 11:58 AM, Milen Dzhumerov wrote:
On 27 Jul 2008, at 07:36, Jacob Bandes-Storch wrote:

[snip]
For resizing, the logical method is -[NSWindow setFrame:display:animate:]. This all works fine... until a descendant subview has a layer. Then I get a pause, and the window resizes without animating. If I remove the layer from the subview, the animation works. (The subview is a descendant of the view which I am *removing* from the window *before* changing the size. Why does it make a difference anyway?)
[snip
Can anyone give me some advice here? What am I doing that's ruining the NSWindow resize animation? How can I get the view transitions working? Thanks in advance.

This is a known bug (rdar://problem/5827811). Workaround by using one content view and replacing the subview of the content view.

M

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to