NSButton's background turning white instead of transparent?
NSButton's background turning white instead of transparent?
- Subject: NSButton's background turning white instead of transparent?
- From: "Theodore H. Smith" <email@hidden>
- Date: Thu, 11 Aug 2005 20:32:05 +0100
I've got these toolbar buttons, which aren't a proper toolbar, they
are just NSButtons.
I've set an icon for them, which has a transparancy mask. The
transparancy works as expected, partially opaque pixels let the
background partially show through, which is nice.
The NSButtons are borderless.
Unfortunately, when I click on the buttons, the background turns
white, instead of transparant.
I'm not sure how to fix this. If I were to do this without advice,
I'd simply override the drawing methods and draw the image as it is
supposed to be drawn. But that doesn't seem right to me, surely there
is an easier way?
--
http://elfdata.com/plugin/
What does our work achieve, if it's not making the world a happier
place?
http://www.whatnextjournal.co.uk/Pages/Next/Happiness.html
When's the last time you thought deeply about how to improve our lives?
_______________________________________________
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