NSTableView text color of cells in highlighted rows unreadable
NSTableView text color of cells in highlighted rows unreadable
- Subject: NSTableView text color of cells in highlighted rows unreadable
- From: Alexander Reichstadt <email@hidden>
- Date: Tue, 11 Nov 2008 09:40:27 +0100
Hi,
I am trying to turn off the highlight color. I subclassed NSTableView
and NSTextAttachmentCell. In my tv-subclass I override -
(void)highlightSelectionInClipRect:(NSRect)theClipRect and use
clearColor to draw the selected rows which works. But I haven't found
the way to draw the text in black regardless of the row's hightlight-
state, so it continues to write the cell content in white on a white
background whenever it's highlighted.
Can someone please point me into the right direction?
Thanks
Alexander
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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