PDA

View Full Version : Varying font/paint color in elements.



Anonymous
06-03-2002, 07:50 PM
Is it possible to set the font color for an element?

Element has a set paint method but the DTD does not appear to support setting the paint color.

In addition I would like to be able to define a different paint color for positive and negative values in number-fields. I was thinking this could be handled in the way that DecimalFormat handles different format capabilities for positive and negative numbers.


Martin Smith

Anonymous
06-04-2002, 03:14 AM
Try the cvs version, the parser there does parse colors for all elements.
There is also a rectangle element included to create something similiar to a cell background.

Have more fun,
said Thomas