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: Mike Abdullah <email@hidden>
- Date: Mon, 06 Apr 2015 17:12:32 +0100
> On 30 Mar 2015, at 18:00, Steve Mills <email@hidden> wrote:
>
> 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?
Thanks for trying this out Steve, good to know where the threshold is! I’ve filed a radar of my own with Apple too: rdar://20433758
_______________________________________________
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