I should have been more specific with what I wanted. The icon was in fact a 
tickbox, and the solution was to use NSMenuItem's setSate with a value of 
NSOnState

On 07/03/2012, at 12:21 PM, Prime Coderama wrote:

> I am trying to add an icon to only one NSMenuItem item but it is indenting 
> the icon and text by 1 level.
> 
> I tried to set the  to "0" but that doesn't work.
> 
> An example of what I am trying to achieve can be seen in the Wireless status 
> bar menu where the tickbox is displayed against the current WiFi your 
> connected to e.g. http://cl.ly/2T362b2I0f1G1O3b3G3z
> 
> Any tips are appreciated!

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to