I am developing a Cocoa application and encountered a problem with highlighting. Standard highlighting color in MAC OS X applications is blue, but it doesn\'t suit my app, since
- (void)drawInteriorWithFrame:(NSRect)frame inView:(NSView *)controlView { if ([self isHighlighted]) { NSRect bgFrame = frame; [[NSColor redColor] set]; NSRectFill(bgFrame); } }
I use this code to deal with the height, the code is in my custom cell file