This content has been marked as final.
Show 4 replies
-
1. Re: Get rid of indentation on PanelMenuItem?
sergeysmirnov May 1, 2008 6:42 PM (in response to grundor)What do you mean by "I have icons turned off" ? What exactly you did?
-
2. Re: Get rid of indentation on PanelMenuItem?
ilya_shaikovsky May 2, 2008 5:13 AM (in response to grundor).rich-pmenu-item-icon{ display:none; }
removes the icon at all..rich-pmenu-item-label{ padding: paddingYouNeed }
just set the paddings you need in label class. -
3. Re: Get rid of indentation on PanelMenuItem?
grundor May 2, 2008 10:04 AM (in response to grundor)Thanks for the posts - I had used the following to disable the icon:
HtmlPanelMenuItem menuitem = new HtmlPanelMenuItem(); menuitem.setName("leaguetree-panelitem"); menuitem.setIcon("none");
Your css settings did the trick, but one followup if I may. and this is probably more of a css question.
How would I set this style on just a single panelmenuitem within my panelmenu?
-Mark -
4. Re: Get rid of indentation on PanelMenuItem?
ilya_shaikovsky May 2, 2008 10:09 AM (in response to grundor)through corresponding styleClass attributes :)