Re: NSTextFieldCell + Transparent NSTableView = Black Field editor
Re: NSTextFieldCell + Transparent NSTableView = Black Field editor
- Subject: Re: NSTextFieldCell + Transparent NSTableView = Black Field editor
- From: Corbin Dunn <email@hidden>
- Date: Wed, 26 May 2010 12:18:30 -0700
On May 26, 2010, at 9:23 AM, Markus Spoettl wrote:
> 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:?
You'll probably have to do that.
Feel free to log a bug requesting NSTableView to automatically handle this. Extra bonus points if you attach a test case to the bug :)
corbin_______________________________________________
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