Author: sergeyhalipov
Date: 2008-04-29 13:26:28 -0400 (Tue, 29 Apr 2008)
New Revision: 8346
Modified:
trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/css/panelMenu.xcss
trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenu.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1954
Modified:
trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/css/panelMenu.xcss
===================================================================
---
trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/css/panelMenu.xcss 2008-04-29
16:44:07 UTC (rev 8345)
+++
trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/css/panelMenu.xcss 2008-04-29
17:26:28 UTC (rev 8346)
@@ -5,9 +5,14 @@
xmlns="http://www.w3.org/1999/xhtml">
<f:verbatim>
+ .rich-pmenu {
+ overflow: hidden;
+ padding-right: 4px;
+ }
+
.dr-pmenu-top-group {
height: 20px;
- width: 100%;
+
background-repeat: repeat-x;
background-position: left top;
padding: 2px 1px 2px 2px;
@@ -34,6 +39,7 @@
margin-bottom: 3px;
padding: 1px;
overflow: hidden;
+ width: 100%;
}
.dr-pmenu-group-self-label {
Modified: trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenu.jspx
===================================================================
--- trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenu.jspx 2008-04-29
16:44:07 UTC (rev 8345)
+++ trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenu.jspx 2008-04-29
17:26:28 UTC (rev 8346)
@@ -38,7 +38,7 @@
<f:call name="utils.encodeBeginFormIfNessesary"/>
- <div style="width:#{component.width}; #{style}"
class="#{component.styleClass}"
+ <div style="width:#{component.width}; #{style}" class="rich-pmenu
#{component.styleClass}"
id="#{clientId}"
onclick="#{component.onclick}"
ondblclick="#{component.ondblclick}"