• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Template Images in Table Cells
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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>)

  • Prev by Date: Re: iOS From 1,99 To 1.99
  • Next by Date: What are the best macros to use to know when compiling is for Mac OS X v.s. iOS?
  • Previous by thread: Re: Template Images in Table Cells
  • Next by thread: Re: Template Images in Table Cells
  • Index(es):
    • Date
    • Thread