Re: NSColorWell - controlling opacity
Re: NSColorWell - controlling opacity
- Subject: Re: NSColorWell - controlling opacity
- From: John Joyce <email@hidden>
- Date: Sat, 25 Feb 2012 09:15:52 -0600
> I use numerous colour wells all over my app. Mostly, I want the user to be able to use different alpha values, so I have enabled the opacity control for NSColorPanel globally for the app. But there are one or two places where I don't want that - these are associated with specific colour wells.
>
> I was surprised to find I couldn't set whether the color panel displayed the opacity slider depending on which colour well was selected. Can anyone think of a way I could achieve that? Seems to me that the color well/color panel communication is a totally closed book - I've already got various workarounds to overcome other issues with this communication, but with this one it's looking like I'm going to have to throw out NSColorWell and just do it myself from scratch. I thought frameworks were supposed to help, not hinder?
>
> --Graham
> _______________________________________________
>
Configure the panel with...
setShowsAlpha: NO
_______________________________________________
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