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

Changing NSTextFieldCells' editing appearance?


  • Subject: Changing NSTextFieldCells' editing appearance?
  • From: Tim Andersson <email@hidden>
  • Date: Fri, 15 Aug 2008 18:02:48 +0200

Hi there,

I have a few questions about changing the way my NSTextFieldCells look while they are being edited.
First off, when editing my cell, the cell's background-color changes to black (As such: http://img170.imageshack.us/img170/4610/ bild1zq3.png). Is there any way of changing it to white instead? I've tried setBackgroundStyle:NSBackgroundStyleLight without succes.


I'm also wondering if there's any chance of making the NSTextFieldCell behave like a NSTextField without border and focus ring? So that the only thing that happens when I double-click to edit my cell is that the text is highlighted. I've tried setBordered:NO and setFocusRing:NSFocusRingTypeNone , but I still get a white border (And a black background) around it when I edit it.

All help is appreciated,
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: Negm-Awad Amin <email@hidden>
  • Prev by Date: Re: Table column header not highlighted at first
  • Next by Date: Re: Animating a view along a path
  • Previous by thread: Re: Question about directory for Application Caches
  • Next by thread: Re: Changing NSTextFieldCells' editing appearance?
  • Index(es):
    • Date
    • Thread