Interestingly, after searching the NSWindow (and NSPanel) docs and google
for like 5 minutes, I still can't figure out how to set this small shadow
programmatically. Now I'm all curious! Anyone know?
-- 
Steven Degutis
http://www.thoughtfultree.com/
http://www.degutis.org/


On Fri, Sep 4, 2009 at 8:21 PM, Steven Degutis <steven.degu...@gmail.com>wrote:

> 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 <tolma...@gmail.com>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 (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/steven.degutis%40gmail.com
>>
>> This email sent to steven.degu...@gmail.com
>>
>
>
>
>
_______________________________________________

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