I am having a big problem and not able to solve it.
I have an NSOutlineView
which contains a NSButtonCell
which is bound to arrayController
from there it is setting its Title
and based on some value an Image is set in the cell background by codes.
The Image is set using these codes
[cell setImage:[NSImage imageNamed:@"sbWarn.png"]];
[cell setImagePosition:NSImageOverlaps];
[cell setBackgroundColor:[NSColor clearColor]];
The problem is when I select a row the selected row shows a black background. I tried every possible ways like setting background as clearColor etc.
How can I make it look good.