• 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: 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


References: 
 >NSOpenPanel accessoryView clicks must hit pixels to work (From: Steve Mills <email@hidden>)
 >Re: NSOpenPanel accessoryView clicks must hit pixels to work (From: Mike Abdullah <email@hidden>)
 >Re: NSOpenPanel accessoryView clicks must hit pixels to work (From: Uli Kusterer <email@hidden>)
 >Re: NSOpenPanel accessoryView clicks must hit pixels to work (From: Steve Mills <email@hidden>)
 >Re: NSOpenPanel accessoryView clicks must hit pixels to work (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: NSOpenPanel accessoryView clicks must hit pixels to work
  • Next by Date: Re: Bug with Localized Failure Reason and file moving
  • Previous by thread: Re: NSOpenPanel accessoryView clicks must hit pixels to work
  • Next by thread: Re: NSOpenPanel accessoryView clicks must hit pixels to work
  • Index(es):
    • Date
    • Thread