NSTextFieldCell + Transparent NSTableView = Black Field editor
NSTextFieldCell + Transparent NSTableView = Black Field editor
- Subject: NSTextFieldCell + Transparent NSTableView = Black Field editor
- From: Markus Spoettl <email@hidden>
- Date: Wed, 26 May 2010 12:23:53 -0400
Hello,
I have a transparent NSTableView embedded in a scroll view that doesn't draw its background which displays a bunch of NSTextFieldCell columns. Everything is fine, the container view's background is visible through the table.
Until I edit a text field in the table: The field editor background is black.
I experimented a bit and it seems that as soon as the table background color alpha is less than 1.0, the field editor background can't handle it. Opaque colors are handled correctly.
I'm hoping I'm just being blind again and the there a solution for this problem? Do I need to supply my own customized field editor via -windowWillReturnFieldEditor:toObject:?
I'm on Snow Leopard, my deployment target and base SDK is 10.5, using Xcode 3.2.1.
Thanks for any pointers!
Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
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