Author: sergeyhalipov
Date: 2007-05-22 12:56:10 -0400 (Tue, 22 May 2007)
New Revision: 833
Modified:
trunk/richfaces/tree/src/main/resources/org/richfaces/renderkit/html/css/tree.xcss
trunk/richfaces/tree/src/main/templates/htmlTreeNode.jspx
Log:
Move icon size to style classes from style attribute.
Modified:
trunk/richfaces/tree/src/main/resources/org/richfaces/renderkit/html/css/tree.xcss
===================================================================
---
trunk/richfaces/tree/src/main/resources/org/richfaces/renderkit/html/css/tree.xcss 2007-05-22
16:01:03 UTC (rev 832)
+++
trunk/richfaces/tree/src/main/resources/org/richfaces/renderkit/html/css/tree.xcss 2007-05-22
16:56:10 UTC (rev 833)
@@ -12,6 +12,10 @@
padding : 1px
}
+.dr-tree-h-ic-div {
+ width: 16px;
+}
+
.dr-tree-h-ic-img{
margin: 0px;
display: block;
Modified: trunk/richfaces/tree/src/main/templates/htmlTreeNode.jspx
===================================================================
--- trunk/richfaces/tree/src/main/templates/htmlTreeNode.jspx 2007-05-22 16:01:03 UTC (rev
832)
+++ trunk/richfaces/tree/src/main/templates/htmlTreeNode.jspx 2007-05-22 16:56:10 UTC (rev
833)
@@ -34,8 +34,8 @@
<tr id="#{clientId}:mainRow" >
<f:call name="encodeAttributeParameters" />
- <td class="dr-tree-h-ic #{line}" style="width: 16px;">
- <div style="width: 16px;">
+ <td class="dr-tree-h-ic #{line}">
+ <div class="dr-tree-h-ic-div" >
<jsp:scriptlet>
<![CDATA[
if (component.getUITree().isLeaf()) {
Show replies by date