I don't seem to be able to find a way of animating a window's bottom edge 
content border size ('contentBorderThicknessForEdge:') when resizing a window. 

Specifically, I have a window with a normal bottom border of (say) 20 points. I 
want to increase the window height by (say) 30 points, and at the same time 
increase the bottom border by the same amount. The catch is that I would like 
both these changes to animate smoothly.

I thought -[NSWindow setFrame:display:YES animate:YES] would allow me to change 
the bottom border in delegate method 'window:willResize:toSize:', but that 
doesn't get called during the animation. I don't think I can use [window 
animator] to do it, because it's not a KVC compliant property I'm changing.

Am I missing an obvious way of getting the border animation effect?


_______________________________________________

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