Please consider the following class:
[code]
public class HelpFormIcon extends FormItemIcon {
public HelpFormIcon() {
setNeverDisable(true);
setName("help");
setSrc(WebConstants.QUESTION_FORM_IMG);
//setWidth(20);
//setHeight(20);
setBaseStyle("helpIcon");
}
}
[code]
I wanted to define the size of this formicon outside of java code. I tried setBaseStyle and define the size in css and that set the class of the img, however widht/height is 18 which i guess is skin default.
Can i do this via CSS somehow or do i have to define a class in load_skin?
[code]
public class HelpFormIcon extends FormItemIcon {
public HelpFormIcon() {
setNeverDisable(true);
setName("help");
setSrc(WebConstants.QUESTION_FORM_IMG);
//setWidth(20);
//setHeight(20);
setBaseStyle("helpIcon");
}
}
[code]
I wanted to define the size of this formicon outside of java code. I tried setBaseStyle and define the size in css and that set the class of the img, however widht/height is 18 which i guess is skin default.
Can i do this via CSS somehow or do i have to define a class in load_skin?
Comment