• 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: Spotlight-Style search menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spotlight-Style search menu


  • Subject: Re: Spotlight-Style search menu
  • From: Chaitanya Pandit <email@hidden>
  • Date: Wed, 2 Jun 2010 22:10:34 +0530

I don't know but if you can set your NSStatusItem as a custom view and determine it's location on the screen, you can then show your custom view in a borderless window at that position

On Jun 2, 2010, at 9:18 PM, John Johnson wrote:

> So I know how to set a view in an NSMenuItem, but my question is how to get it to look similar to the Spotlight search menu. For example, if I set the first item in a popup menu to a custom view, there is still a thin strip of "white" across the top. I want the gradient from the view to fill up the entire background. Is this a custom control or is there a way to get an NSMenu to behave like this?
>
> John_______________________________________________
>
> 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

_______________________________________________

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: 
 >Spotlight-Style search menu (From: John Johnson <email@hidden>)

  • Prev by Date: Re: Spotlight-Style search menu
  • Next by Date: Re: Spotlight-Style search menu
  • Previous by thread: Re: Spotlight-Style search menu (SOLVED)
  • Next by thread: The Unadopted Protocol
  • Index(es):
    • Date
    • Thread