On Jun 24, 2014, at 15:31 , Alex Kac <a...@webis.net> wrote: > I’m sure I’m missing something simple.
> I have an NSButton with an image. I’d like to have the button look etched > when unselected - and tinted blue when selected It was a while back since I was missing the same thing. IIRC, what you need to do is: 1. Set your template image as *both* the standard and the alternate image. 2. Set the button’s *value* to 1 to get the alternate image — which will then have the blue highlight. Currently, I don’t have any buttons that do this with images, but I use the same rules for text that turns blue when the button is “on”. Previously, I used this for a “play” button that had a black play icon when off, and a blue pause icon when on. That ability to use different images for the states is why you have to set the image twice. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com