Author: artdaw
Date: 2011-02-24 09:38:47 -0500 (Thu, 24 Feb 2011)
New Revision: 21918
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/simple-sample.xhtml
Log:
RF-10515: toggle control width is fixed
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/simple-sample.xhtml
===================================================================
---
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/simple-sample.xhtml 2011-02-24
14:35:44 UTC (rev 21917)
+++
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/simple-sample.xhtml 2011-02-24
14:38:47 UTC (rev 21918)
@@ -5,21 +5,21 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
-.rf-tgp-itm {
- border: 1px solid #{richSkin.panelBorderColor};
- padding:5px;
-}
-.tabDiv {
- margin-right:5px;
- border: 1px solid #{richSkin.panelBorderColor};
- background-color: #{richSkin.headerBackgroundColor};
- cursor:pointer;
- width:115px;
- padding-left:5px;
- float:left;
- }
-</style>
+ <style type="text/css">
+ .rf-tgp-itm {
+ border: 1px solid #{richSkin.panelBorderColor};
+ padding: 5px;
+ }
+
+ .tabDiv {
+ margin-right: 5px;
+ border: 1px solid #{richSkin.panelBorderColor};
+ background-color: #{richSkin.headerBackgroundColor};
+ cursor: pointer;
+ padding-left: 5px;
+ float: left;
+ }
+ </style>
<h:form>
<rich:togglePanel id="panel1" activeItem="item1"
render="tabs" itemChangeListener="#{panelMenuBean.updateCurrent}">
<rich:togglePanelItem name="item1">
@@ -48,6 +48,6 @@
style="#{rich:findComponent('panel1').activeItem == 'item2' ?
'font-weight:bold' : 'font-weight:normal'}" />
</a4j:outputPanel>
</a4j:outputPanel>
- <br clear="both"/>
+ <br clear="both"/>
</h:form>
</ui:composition>
\ No newline at end of file