Re: NSOpenPanel accessoryView clicks must hit pixels to work
Re: NSOpenPanel accessoryView clicks must hit pixels to work
- Subject: Re: NSOpenPanel accessoryView clicks must hit pixels to work
- From: Steve Mills <email@hidden>
- Date: Mon, 30 Mar 2015 12:00:56 -0500
On Mar 30, 2015, at 11:37:46, Mike Abdullah <email@hidden> 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. Of course, anyone running some sort of appearance modification will see it. Or like you said, when Apple decides to change it up. I don't think I'll keep it because of that, because of principle, and because hopefully Apple will fix this within the next few months. A boy can dream, right?
--
Steve Mills
Drummer, Mac geek
_______________________________________________
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