Gap above NSMenuItem custom view
Gap above NSMenuItem custom view
- Subject: Gap above NSMenuItem custom view
- From: Joshua Garnham <email@hidden>
- Date: Sun, 26 Dec 2010 16:07:26 +0000 (GMT)
I am using the setView: method on an NSMenuItem to set a custom view. In this
custom view there is an image which takes the whole of the view. The NSMenuItem
with this custom view is the first in the menu but the problem is it doesn't
sit flush with the top of the menu, there is a big gap as you can see here:
http://i.imgur.com/jIWQD.png
Why is this happening and how can I stop it?
Thanks.
_______________________________________________
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