-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I want to add a style to all buttons i create. The problem is that i work with richlets and not with zul.
I tried this guide, but i can't let it work with richlets.
http://www.zkoss.org/smalltalks/lookafeel/look-css.html
Atm i change my button style with:
button.setStyle("background-color: red;");
button.setStyle("background-color: red;");
I hope someone can help me.
only a hint.
You can create your own MyButton class extends org.zkoss.zul.Button .
In there you can set your style like you need. So you must do a refactoring on all Buttons to MyButtons.
best
Stephan
Or you can create your own css style.
Take a look on the css style guide from Zkoss: http://docs.zkoss.org/wiki/Style_Guide
Cheers
Gyo
Asked: 2009-11-18 05:11:57 +0800
Seen: 444 times
Last updated: Nov 18 '09