Re: Spotlight-Style search menu
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