NSButtonCell: NSChangeBackgroundCellMask not working as expected
NSButtonCell: NSChangeBackgroundCellMask not working as expected
- Subject: NSButtonCell: NSChangeBackgroundCellMask not working as expected
- From: David Hoerl <email@hidden>
- Date: Tue, 14 Jun 2005 23:27:49 -0400
If you configure a NSButtonCell to display an image (setImage:), then
you **should** be able to [myButtonCell setHighlightsBy :
NSChangeBackgroundCellMask] to have the background highlight on a
mouseDown, but the icon to remain unchanged.
What I find is that NSChangeBackgroundCellMask works just like
NSContentsCellMask - only the background of the image changes. Other
options like NSChangeGrayCellMask darken the background and image.
Anyone else seen this?
David
_______________________________________________
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