Sebastian Werner <[EMAIL PROTECTED]> writes:
> [EMAIL PROTECTED] schrieb:
>> Siarhei Barysiuk <[EMAIL PROTECTED]> writes:
>>
>>> Error was in TreeVirtual.js line 209:
>>> this.setCellFocusAttributes({ backgroundColor : "lightblue" });
>>>
>>> I changed this line to this.setCellFocusAttributes({ backgroundColor :
>>> "blue" }); and error was fixed.
>> Sebastian, what happened to "lightblue"? That's one of the standard color
>> names. Was it mistakenly excluded?
>
> "lightblue" is one of these extended CSS color names. These are not supported
> anymore by the normal color handling. You can however convert it first using
> qx.util.ExtendedColor. This step was done to reduce the size of the normal
> color handling.
Ok.
> To fix this I would suggest to replace lightblue with something like
> "selected" or "selected-cell" or something like this and add a new name if
> needed to one of the default color themes of qooxdoo. A hard-coded
> "lightblue" is normally not a good way to define colors in widgets.
That's likely true now. Until the recent appearance changes, I avoided themes
and appearances like the plague, because they couldn't be overridden and I
found them so much trouble to work with as to be unusable. With the recent
rework of appearances, I believe my opinion of them will change substantially.
I need to learn exactly how they work, and then modify Table and TreeVirtual
to make better use of them.
Thanks,
Derrell
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel