Miscellaneous

From Documentation
Revision as of 06:28, 16 July 2010 by Maya001122 (talk | contribs) (Created page with '{{ZKDevelopersGuidePageHeader}} === Button: use the <tt>os</tt> mold if there are a lot of buttons === The <tt>trendy</tt> mold of a button provides a better and consistent loo…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Stop.png This documentation is for an older version of ZK. For the latest one, please click here.


Button: use the os mold if there are a lot of buttons

The trendy mold of a button provides a better and consistent look for, especially, Internet Explorer 6. Unfortunately, the browser (particularly, Internet Explorer) will be slowed down if there are a lot of button (with trendy) in the same page.

Notice that the default mold is os in ZK 5, while trendy in ZK 3.6.

With ZK 5, you can change the default mold easily. For example,

<library-property>
	<name>org.zkoss.zul.Button.mold</name>
	<value>trendy</value>
</library-property>

Refer to Developer reference Appendix B. WEB-INF/zk.xml Library Properties#class.mold for more information.



Last Update : 2010/07/16

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.