Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Template Images in Table Cells
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Template Images in Table Cells



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

References: 
 >Re: Template Images in Table Cells (From: Lee Ann Rucker <email@hidden>)
 >Re: Template Images in Table Cells (From: Seth Willits <email@hidden>)
 >Re: Template Images in Table Cells (From: Kyle Sluder <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.