• 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
NSButton darkens background when pressed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSButton darkens background when pressed


  • Subject: NSButton darkens background when pressed
  • From: Glen Simmons <email@hidden>
  • Date: Tue, 2 Mar 2004 10:06:48 -0600

I'm using NSButtons with no border and with the "Momentary Change" behavior set in IB and my own graphics for the "up" and "down" states. The problem is that NSButton takes it upon itself to darken its rect when it's pressed and I don't want that. I've fiddled with the button's NSButtonCell using -setHighlightsBy: and -setShowsStateBy: to no avail.

Any idea how to restrain this behavior?

Thanks,
Glen
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: NSButton darkens background when pressed
      • From: Jeremy Dronfield <email@hidden>
    • Re: NSButton darkens background when pressed
      • From: Jeremy Dronfield <email@hidden>
    • Re: NSButton darkens background when pressed
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Re: Giving a NSToolbaritem a command key...?
  • Next by Date: Re: Need smooth animation suggestions
  • Previous by thread: Re: Recreating Mail.app's red "new email count" dot (in the dock)
  • Next by thread: Re: NSButton darkens background when pressed
  • Index(es):
    • Date
    • Thread