Skip to main content
May 8, 2008
Question

component rollover color change

  • May 8, 2008
  • 1 reply
  • 260 views
I am using the checkbox component and I want to change the color of the default green that I get when I rollover the component. How is that done?
I have the following to style my component otherwise. Is this the right way to do it? Or should I create a combined declaration?

this.checkBox.label = "Subscribe to Mailing List";
this.checkBox.setStyle("fontWeight", "bold");
this.checkBox.setStyle("color","0x000000");
this.checkBox.setStyle("fontSize","10")
This topic has been closed for replies.

1 reply

May 8, 2008
I figured it out:
this.checkBox.setStyle("themeColor","0x000000");

Thanks!