• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSOpenPanel accessoryView clicks must hit pixels to work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: iOS 7/8 sandboxing question. Path to Documents folder changing on every app launch?
  • Next by Date: Where is my bicycle?
  • Previous by thread: Re: NSOpenPanel accessoryView clicks must hit pixels to work
  • Next by thread: Re: Number formatter errors
  • Index(es):
    • Date
    • Thread