toggle button dim when pushed
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