Ralf Sternberg schrieb:
> Hi,
>
> when I set a user-defined text/background color to a widget, and reset 
> the color using e.g. setBackgroundColor( null ), the themed color value 
> is not reinstalled. Using resetBackgroundColor() works as expected.
>
> Is this method of resetting by setting to null generally discouraged? 
>  From my understanding of the new multi-valued properties, the themed 
> color should take precedence as soon as there is no user-defined value 
> set anymore.
>   
Hi Ralf,

setting explicitly to null means "don't use any color". This is treated 
as an user value and  takes precedence over init and themed values. 
Calling reset means "clear user value". Once the user value is resetted 
either the init or the themed value is applied.


Hope this helps,
Best Fabian

-------------------------------------------------------------------------
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
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to