sheet animation attributes
sheet animation attributes
- Subject: sheet animation attributes
- From: Craig Hunter <email@hidden>
- Date: Tue, 15 May 2007 16:25:11 -0400
I created a transparent NSPanel in my app with some custom artwork in the
middle, and am using it as a sheet. I made a window delegate implementing
window:willPositionSheet:usingRect: in order to have the sheet squirt out of
a button, and it all works well -- the artwork oozes out of the button like
a fancy popup dialog. Unfortunately, the rectangular drop shadow of the
sheet's NSPanel is shown during the sheet animation (both opening and
closing). It disappears when the sheet is fully deployed (so that all I see
is the artwork, as intended) but the shadow is there when the sheet squirts
open or close. Kind of looks like a ghostly windowshade behind the artwork,
which might be cool in other circumstances. Anybody know a way to override
this easily, or am I dealing with something hard coded deep in the
frameworks? I tried disabling the shadow of the sheet's NSPanel using
setHasShadow:NO, but it doesn't have any effect on the animation.
Thanks,
Craig
--
Dr. Craig Hunter
NASA Langley Research Center
Configuration Aerodynamics Branch
email@hidden
(757) 864-3020
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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