Pre-requisites for automatic image highlighting in NSButton?
Pre-requisites for automatic image highlighting in NSButton?
- Subject: Pre-requisites for automatic image highlighting in NSButton?
- From: "Mark Allerton" <email@hidden>
- Date: Mon, 28 Jul 2008 22:02:00 -0700
Hello,
I have been trying to get automatic image highlighting to work in
"rounded textured" style buttons, created in IB. So far I am able to
make this work just fine when using "system provided" images (for
example "NSGoRightTemplate") but unable to make this work with my own
images provided as either PNG or icns.
Just to be clear what I am referring to here, I mean the highlighting
that occurs on "push on push off" or "toggle" style buttons. For "push
on push off", the image is (or should be) highlighted in white on the
dark gray background for NSOnState, and for toggle style the NSOnState
highlight is blue. I've followed the advice in the HIG and just
specified an image for the button and no "alt. image". And if I use
NSGoRightTemplate all is well, with my images not so much.
So it seems to me there must be some additional pre-requisites for the
button images that I've missed - can anyone advise? My images do
already have an alpha mask, and like I say I have tried PNG and ICNS
format so far.
Cheers
..Mark..
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden