• 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
NSTableView text color of cells in highlighted rows unreadable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSTableView text color of cells in highlighted rows unreadable
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: CA: fillMode and rotation animation . . .
  • Next by Date: Information request on Iphone for playing pls files
  • Previous by thread: Re: CA: fillMode and rotation animation . . .
  • Next by thread: Re: NSTableView text color of cells in highlighted rows unreadable
  • Index(es):
    • Date
    • Thread