2 Replies Latest reply on Dec 30, 2010 5:45 AM by Ralf Haller

    rich:panelMenuItem icon spacer

    Saulius S. Newbie

      Hello, how can I remove icon spacer inside panelMenuItem? I can remove icon with

       

      <rich:panelMenuItem icon="none">

       

      But icon spacer is still here.

       

       

      <img height="16" width="16" alt="" 
           src="/my-app/faces/a4j/g/3_3_2.SR1org.richfaces.renderkit.html.iconimages
                .PanelMenuIconSpacer/DATB/eAE7fv4KAATKAms_">
      

      This image tag is auto generated by rich faces. How can I disable it?

       

      I had tried to override class:

      .rich-pmenu-nowrap img {
          white-space:nowrap;
          display: none; 
      }

      But this hides all icons, and I need to hide only specific icons and spacers for specific rich:panelMenuGroup