On Dec 29, 2011, at 1:42 PM, Kyle Sluder wrote:

>> So it seems there's more to it than simply having the template image be in 
>> the button cell.
> 
> Did you remember to set backgroundStyle=NSBackgroundStyleRaised on the
> NSButtonCell?
> 
> This is described in the Text and Image Effects section of the 10.5
> AppKit Release Notes:
> http://developer.apple.com/library/mac/#releasenotes/Cocoa/AppKitOlderNotes.html



Ok, I see. I never really knew about that, I don't think. Ok, so now I have it 
working as expected, though sadly, it doesn't do the right coloring on 10.6 in 
tables like it does on 10.7; it's still just predominantly grayscale (with ever 
so slight value differences because of the slight translucency) versus 10.7's 
obvious colorizing. 

Hmm. I guess I'm stuck with either programatic image swapping based on the OS 
and having two sets of icons, or use the wrong style on of the two OSes. Grrr.


Thanks for the help.


--
Seth Willits



_______________________________________________

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