Bug 145 - [Chameleon] Color="#" Breaks Buttonizer.
: [Chameleon] Color="#" Breaks Buttonizer.
Status: RESOLVED FIXED
: Chameleon
Widget
: 1.0
: PC Windows 2000
: P2 normal
: ---
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2003-11-25 14:37 by
Modified: 2004-04-06 13:38 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-11-25 14:37:02
Darren's Comment: Issue noticed during cwc2 1.0.3 training course.
>
> 4. "#" in colours breaks Buttonizer.
>

Ok this should happen, for the parameter color it needs to have RGB (Red Green
Blue) eg. COLOR="255 255 255" equals white. Maybe what you are trying to point
out is that the Buttonizer does not express an error that is meaningful to the
user. This is basically the same issue as bug 143, but is more specific with the
COLOR widget parameter.
------- Comment #1 From 2004-04-06 13:38:23 -------
There are two different types of attributes for color:

Hex
RGB

The Hex attribute takes an HTML color specification like #FFFFFF and it was this
that was broken (if the first character was the #).  This has been fixed in the
latest version and the Hex color can be specified either with or without the #.

RGB is written as three space separated values between 0-255 each (i.e.
color="255 0 255")