[Project_owners] Adding icons to menuitems inside a menulist
didier at ernotte.com
Fri Jan 20 12:05:14 EST 2006
This is a Window release problem (I don't know on Linux), but I have
some menulist with icon, and it's working fine on Mac.
element = menu.appendItem(aTitle, aValue);
--- David Murray <lid2000 at tpg.com.au> wrote:
> I'm trying to add icons to menuitems that are in a drop-down
> I've tried all sorts of stuff, but can't seem to get it to work. I am
> able to get icons to appear for the currently selected item, but not
> all the ones in the list (see screenshot).
> I'm able to do this by setting a list-style-image style attribute for
> all of the menuitems, and then using the oncommand for the menulist
> copy the style attribute to the menulist itself, which gives icons
> the menulist. But I cannot figure out how to get icons for the
> to appear (I have tried setting the style to menuitem-iconic and
> everything, but get nothing). Has anyone been able to achieve what
> trying to do? If so, can you please tell me how?
> > _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
More information about the Project_owners