Re: Template Images in Table Cells
Re: Template Images in Table Cells
- Subject: Re: Template Images in Table Cells
- From: Seth Willits <email@hidden>
- Date: Thu, 29 Dec 2011 23:33:24 -0800
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 (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