• 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
toggle button dim when pushed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

toggle button dim when pushed


  • Subject: toggle button dim when pushed
  • From: Chase <email@hidden>
  • Date: Thu, 14 Jul 2005 05:48:29 -0500

i've got a button that's set up like so:

    [button setBezelStyle:NSShadowlessSquareBezelStyle];
    [button setButtonType:NSToggleButton];
    [button setBordered:NO];
    [button setTitle:@""];
    [button setImagePosition:NSImageOnly];
    [button setImage:image];



it works perfectly except that when i push it in and hold it, it dims until i let go.

i don't want the image to dim at all.

i tried:

    [[button cell] setHighlightsBy:NSNoCellMask];
    [[button cell] setShowsStateBy:NSNoCellMask];


... but the behavior is the same.



how can i set it so that it never dims?

- chase



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: LSUIElement and LSBackgroundOnly
  • Next by Date: Multiscreen screen savers
  • Previous by thread: Re: font of "i" in dashboard widgets?
  • Next by thread: Multiscreen screen savers
  • Index(es):
    • Date
    • Thread