• 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: Changing NSTextFieldCells' editing appearance?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing NSTextFieldCells' editing appearance?


  • Subject: Re: Changing NSTextFieldCells' editing appearance?
  • From: Brandon Walkin <email@hidden>
  • Date: Mon, 18 Aug 2008 12:30:24 -0400

The black color you're seeing when editing is the -backgroundColor of the table view. Just override that method and return a more appropriate color.

On 18-Aug-08, at 11:00 AM, Tim Andersson wrote:

I'm using the NSTextFieldCell in a NSTableView.

When using a NSTextField without a border and focus ring, the only thing that happens when you start editing the field is that the text is highlighted.
When I edit my NSTextFieldCell (Without border and focus ring) in my NSTableView, the background goes black and a white border is shown around it, as the following picture shows: http://img143.imageshack.us/img143/5513/bild2su2.png


I hope that clarifies what I'm trying to do. :)

Cheers,

Tim Andersson
_______________________________________________

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: Changing NSTextFieldCells' editing appearance?
      • From: Tim Andersson <email@hidden>
References: 
 >Changing NSTextFieldCells' editing appearance? (From: Tim Andersson <email@hidden>)
 >Re: Changing NSTextFieldCells' editing appearance? (From: Negm-Awad Amin <email@hidden>)
 >Re: Changing NSTextFieldCells' editing appearance? (From: email@hidden)
 >Re: Changing NSTextFieldCells' editing appearance? (From: Negm-Awad Amin <email@hidden>)
 >Re: Changing NSTextFieldCells' editing appearance? (From: Tim Andersson <email@hidden>)

  • Prev by Date: Re: arch: posix_spawnp: /Developer/Tools/otest: Bad CPU type in executable
  • Next by Date: CATiledLayer documentation
  • Previous by thread: Re: Changing NSTextFieldCells' editing appearance?
  • Next by thread: Re: Changing NSTextFieldCells' editing appearance?
  • Index(es):
    • Date
    • Thread