NSMenuItem and images
NSMenuItem and images
- Subject: NSMenuItem and images
- From: Kristopher Matthews <email@hidden>
- Date: Sun, 27 Apr 2008 18:03:10 -0500
I have an NSPopUpButton populated with some NSMenuItems that have
images. I'm trying to determine the proper dimensions for the image.
I'm getting the image from [NSWorkspace: iconForFile], which appears
to be returning them at 32x32, much too large. Manually resizing to
16x16 works well, but I don't want to hardcode that image size.
Anyone have any thoughts on this? I've looked through the
documentation but didn't see anything very obvious.
Thanks,
Kris
_______________________________________________
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