How do I set the text color of a Cocoa tooltip?

Posted by Adam Preble on Stack Overflow See other posts from Stack Overflow or by Adam Preble
Published on 2010-05-18T23:07:04Z Indexed on 2010/05/18 23:10 UTC
Read the original article Hit count: 190

Filed under:
|
|

I am using BGHUDAppKit for an outline view within a HUD-style (black) NSPanel. As such the text in my outline view cells is light gray or white. Unfortunately this means that when I hover to bring up a tooltip for a cell's value, it shows up as light gray text on yellow, which is illegible.

How can I set the text color for the tooltip, or is there a way that I can modify the control itself (without changing its appearance) to work better with the tooltip mechanism?

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about tooltip