[RkWard-devel] text color?

Prasenjit Kapat kapatp at gmail.com
Thu Mar 22 16:16:33 UTC 2007


Hi,

On Thursday 22 March 2007 08:16:26 am Thomas Friedrichsmeier wrote:
> Hi,
>
> On Thursday 22 March 2007 08:44, Prasenjit Kapat wrote:
> > I was just fancying, is there any color options to <text> element in xml?
>
> no, but it would be feasible to add. However, I think directly specifying
> color is not the best way to do this. I suppose the color is always meant
> to signify something (e.g. "this is an important warning"), and in order to
> keep consistent we should rather use something like
> 	<text type="warning">...</text>

This would be much better!

> . Where warnings might be shown in red (and perhaps in bold text). Which
> types of <text> would be needed?

I would say, "Go" (in green italics), "Warning" (light amber/Orange, 
bold), "Error" (in red, bold) and "default" (in black, normal). Though don't 
know where "Go" would be used!

Regards
PK




More information about the Rkward-devel mailing list