Author: ochikvina
Date: 2009-07-02 09:56:08 -0400 (Thu, 02 Jul 2009)
New Revision: 14768
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/treeNode.xml
Log:
https://jira.jboss.org/jira/browse/RF-7445 - adding the .rich-tree-h-ic-img class to style
classes table and an example of its usage;
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/treeNode.xml
===================================================================
---
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/treeNode.xml 2009-07-02
12:53:10 UTC (rev 14767)
+++
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/treeNode.xml 2009-07-02
13:56:08 UTC (rev 14768)
@@ -346,6 +346,10 @@
<entry>rich-tree-node-icon</entry>
<entry>Defines styles for a tree node icon</entry>
</row>
+ <row>
+ <entry>rich-tree-h-ic-img</entry>
+ <entry>Defines styles for an image of a tree node</entry>
+ </row>
<row>
<entry>rich-tree-node-icon-leaf</entry>
<entry>Defines styles for a tree node icon leaf</entry>
@@ -386,12 +390,20 @@
</tbody>
</tgroup>
</table>
-
+
<para>In order to redefine the style for all <emphasis
role="bold">
<property><rich:treeNode></property>
</emphasis> components on a page using CSS, it's enough to create
classes with the
same names and define the necessary properties in them.</para>
+ <para>For instance, if you need to change the size of a tree node image, you
should redefine the <code>.rich-tree-h-ic-img</code> class
properties:</para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-tree-h-ic-img{
+ width:30px;
+ height:30px;
+}
+...]]></programlisting>
+
<para>To change the style of particular <emphasis role="bold">
<property><rich:treeNode></property>
</emphasis> components define your own style classes in the corresponding
<emphasis