Ralf Sternberg schrieb:
> Hi,
> 
> I have the following code in my appearance theme for the "list-item" 
> appearance:
> 
>   if( states.selected ) {
>     result.textColor = "highlighttext";
>     result.backgroundColor = states.focused ? "colorX" : "colorY";
>   }
>   ...
> 
> This does not work properly anymore, as states.focused seems only to be 
> set when a selected item in a previously unfocused list is clicked. 
> Changing the selection in a list (focused or not) always results in colorY.
> 
> I also noticed that states.focused does not occur in your appearance 
> theme anymore.

This seems to work well here. What browser do you have used? Please 
update to r7848 and try it again.

The state "focused" is definitely supported - even if not used.

Sebastian

> 
> Any hints?
> 
> Ralf
> 
> 
> -------------------------------------------------------------------------
> 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


-------------------------------------------------------------------------
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