FROM : Kristopher Matthews
DATE : Mon Apr 28 01:03:10 2008
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
DATE : Mon Apr 28 01:03:10 2008
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
| Related mails | Author | Date |
|---|---|---|
| Kristopher Matthew… | Apr 28, 01:03 | |
| Seth Willits | Apr 28, 06:29 | |
| Adam R. Maxwell | Apr 28, 06:44 | |
| Kristopher Matthew… | Apr 28, 13:39 | |
| Hamish Allan | Apr 28, 14:12 | |
| Kristopher Matthew… | Apr 28, 14:28 | |
| Adam R. Maxwell | Apr 28, 15:21 | |
| Hamish Allan | Apr 28, 15:33 | |
| Kristopher Matthew… | Apr 28, 15:41 | |
| Adam R. Maxwell | Apr 28, 15:48 | |
| Hamish Allan | Apr 28, 16:00 | |
| Adam R. Maxwell | Apr 28, 16:07 | |
| glenn andreas | Apr 28, 16:18 | |
| Adam R. Maxwell | Apr 28, 16:39 | |
| Kristopher Matthew… | Apr 28, 20:22 |






Cocoa mail archive

