On Mon, Mar 30, 2015, at 11:00 AM, Steve Mills wrote:
> On Mar 30, 2015, at 11:37:46, Mike Abdullah <mabdul...@karelia.com>
> wrote:
> > 
> > Slightly less ugly idea, how about filling the background of your accessory 
> > view with something like 1% alpha? Would that be enough to direct clicks to 
> > the right place, without being visible to the human eye?
> 
> 1% didn't work. I had to work my way up to 5% before it was deemed
> clickable. I ended up with [NSColor colorWithWhite:0.91 alpha:0.05],
> which exactly matches this particular background.

… on your current setup. Depending on whether the CPU or GPU is used for
compositing the open panel's contents and/or your own views, and what
color profile is assigned to the screen on which these windows believe
themselves to be hosted, you may wind up with accumulated
off-by-least-significant-bit errors in the final color components.

I'd recommend enclosing all your controls in an NSBox or other
opaque-enough superview.

> Hello, radar://20346986.

Thanks for filing.

--Kyle Sluder

_______________________________________________

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

Reply via email to