Re: Custom Window not receiving "full" shadow
Re: Custom Window not receiving "full" shadow
- Subject: Re: Custom Window not receiving "full" shadow
- From: Steven Degutis <email@hidden>
- Date: Fri, 4 Sep 2009 20:21:50 -0500
Francisco,
Generally this less pronounced shadow is produced by giving an NSPanel the
"Utility" style in IB. As I've never had to do it programmatically, I don't
know what the relevant method would be to set this style, but I'm sure it's
a style on the NSWindow class, not NSPanel.
--
Steven Degutis
http://www.thoughtfultree.com/
http://www.degutis.org/
On Fri, Sep 4, 2009 at 8:16 PM, Francisco Tolmasky <email@hidden>wrote:
> I am have a custom window look that I accomplish by having a borderless
> window with a view that paints its contents. This works fine, however, for
> some reason the shadow on this window is less pronounced than on normal aqua
> windows. I've included images below:
>
> Normal window:
>
>
>
>
> My Window:
>
>
>
>
> I've called invalidateShadow several times but that didn't help. Is there
> some sort of window shadow style that I am supposed to set or something?
>
> Thanks,
>
> Francisco
> _______________________________________________
>
> 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
>
_______________________________________________
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