[Laszlo-user] Setting text color on radiobutton

Robin robin at kallisti.net.nz
Tue Apr 18 23:38:29 EDT 2006


I want to change the text colour on a radio button, but can't figure out how
to do it without changing the colour of the button part itself. If I do this:

<radiogroup name="shapes">
   <radiobutton datapath="draw_functions:/drawfunction" value="$path{'@name'}"
      text="$path{'@desc'}" fgcolor="${classroot.fgcolor}"/>
</radiogroup>		

and ${classroot.fgcolor} is, say, white, then the button part ends up white
too, and you can't tell when it's clicked. What's the proper way to do this?

Robin.


More information about the Laszlo-user mailing list