FROM : Jens Alfke
DATE : Mon Mar 03 23:21:43 2008
On 3 Mar '08, at 1:56 PM, Nick Zitzmann wrote:
> I checked the archives and didn't see anything. How do I set the
> image to display in a pull-down NSPopUpButton using Interface
> Builder 3.0?
That's funny, I was just doing this for the first time today, too! I
got it to work...
> I also tried setting the image in the first menu item (changing the
> pull-down back into a pop-up to do so), and this time the field
> didn't get cleared out, but no image was drawn in the menu item.
Don't set the button style back to pop-up. Leave it pull-down, and set
the button's Position attribute to image-only. Then select the first
menu item and set its image name.
—Jens
DATE : Mon Mar 03 23:21:43 2008
On 3 Mar '08, at 1:56 PM, Nick Zitzmann wrote:
> I checked the archives and didn't see anything. How do I set the
> image to display in a pull-down NSPopUpButton using Interface
> Builder 3.0?
That's funny, I was just doing this for the first time today, too! I
got it to work...
> I also tried setting the image in the first menu item (changing the
> pull-down back into a pop-up to do so), and this time the field
> didn't get cleared out, but no image was drawn in the menu item.
Don't set the button style back to pop-up. Leave it pull-down, and set
the button's Position attribute to image-only. Then select the first
menu item and set its image name.
—Jens
| Related mails | Author | Date |
|---|---|---|
| Nick Zitzmann | Mar 3, 22:56 | |
| Jens Alfke | Mar 3, 23:21 | |
| Nick Zitzmann | Mar 3, 23:32 | |
| Ken Ferry | Mar 3, 23:57 | |
| Nick Zitzmann | Mar 3, 23:59 | |
| Sean McBride | Mar 4, 00:19 | |
| Steven Degutis | Mar 4, 03:01 |






Cocoa mail archive

