[Project_owners] Image inside a menuitem

Neil neil at parkwaycc.co.uk
Wed Jun 30 22:40:23 EDT 2004


Laeb wrote:

> I can't figure out how to display an image inside a menuitem. I've 
> tried this, but no image is displayed:
>  
>  <menulist  width="140" crop="none" >
>             <menupopup >
>                 <menuitem label="item" 
> image="chrome://myextension/skin/image.png" class="menuitem-iconic" 
> crop="none" />
>             </menupopup>
>  </menulist>

Menulist menuitems don't currently support images in all themes, e.g. 
classic. Where they do, you should use CSS to style them, rather than 
coding a chrome skin URL.


More information about the Project_owners mailing list