• 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
NSTextFieldCell + Transparent NSTableView = Black Field editor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSTextFieldCell + Transparent NSTableView = Black Field editor
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Re: subclass overwriting superclass ivar
  • Next by Date: Re: subclass overwriting superclass ivar
  • Previous by thread: Re: Question about predicates and list properties.
  • Next by thread: Re: NSTextFieldCell + Transparent NSTableView = Black Field editor
  • Index(es):
    • Date
    • Thread