• 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
blue column header for NSTableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

blue column header for NSTableView?


  • Subject: blue column header for NSTableView?
  • From: "Nathan V. Roberts" <email@hidden>
  • Date: Fri, 12 Oct 2001 12:21:00 -0500

In my table, I'd like to imitate Finder/iTunes/Print Center/countless others in that their sorting column header gets highlighted with the aqua highlight (graphite or blue). The default cell seems to be highlighting in a 2-D gray - which is my "highlight color" in General preferences, but I'm going for the "appearance" color in General prefs (plus, I want the 3-D glassy look).

I figure probably I could subclass NSCell, have my NSTableView use the custom class as its headercell, and dig somewhere (maybe NSColor) for the correct coloring scheme, and implement my own drawing. Is there a better way? It seems like the current look of the NSTableView isn't consistent with the overall system appearance, and so there "ought" to be a way for me to say "give me that cool 3-D highlight for this cell". Is there?

Thanks for your help,

Nate Roberts


  • Prev by Date: Leak search and ObjectAlloc
  • Next by Date: Using NSMovieView in Cocoa-Java
  • Previous by thread: Leak search and ObjectAlloc
  • Next by thread: Using NSMovieView in Cocoa-Java
  • Index(es):
    • Date
    • Thread