Wouldn't modifying the appearance change the color of all labels? What if you wanted 3 different labels to be 3 different colors? The setColor method should work the same on all widgets.

Instead of using a qx.ui.basic.Label , I use an qx.ui.basic.Atom in it's place and get the results I expect with the color property. It just seems to work better then a Label.

Jim




On 9/5/06, Sebastian Werner <[EMAIL PROTECTED]> wrote:
The color property works definitely but is overwritten by the state
appearance which has a higher priority. The only way to change this is
to modify the appearance.

Cheers,

Sebastian


dperez schrieb:
> Hi,
>
> In order to set the text color of a qx.ui.basic.Label, this doesn't work:
>    myLabel.setColor('#FF0')
> instead this must be done:
>    myLabel.setStyleProperty('color', '#FF0')
>
> I wonder what's the use of the 'color' property.
>
> Regards,
> David


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to