blue column header for NSTableView?
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