• 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
Possible bug with NSBackgroundStyleRaised
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible bug with NSBackgroundStyleRaised


  • Subject: Possible bug with NSBackgroundStyleRaised
  • From: PCWiz <email@hidden>
  • Date: Tue, 29 Dec 2009 12:17:46 -0700

I'm using this in my NSTextField subclass to get a recessed text style:

[[self cell] setBackgroundStyle:NSBackgroundStyleRaised];

It works fine other than the fact that if the text field's NSAttributedString contains any text with an alternate text color set (using NSForegroudColorAttributeName) the recessed style does not appear for the entire text contents of the text field, not just the colored text. Is this a bug or is there a good reason for this to happen?

Independent Cocoa Developer, Macatomy Software
http://macatomy.com


_______________________________________________

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

  • Prev by Date: Re: Notification when displays are detected?
  • Next by Date: Re: Notification when displays are detected?
  • Previous by thread: Re: Notification when displays are detected?
  • Next by thread: Reference NSSearchFieldCell within NSSearchField?
  • Index(es):
    • Date
    • Thread