• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTextFieldCell + Transparent NSTableView = Black Field editor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSTextFieldCell + Transparent NSTableView = Black Field editor
      • From: Markus Spoettl <email@hidden>
References: 
 >NSTextFieldCell + Transparent NSTableView = Black Field editor (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: Question about popover being dismissed clicking outside it
  • Next by Date: Re: Cocoa-dev Digest, Vol 7, Issue 585
  • Previous by thread: NSTextFieldCell + Transparent NSTableView = Black Field editor
  • Next by thread: Re: NSTextFieldCell + Transparent NSTableView = Black Field editor
  • Index(es):
    • Date
    • Thread