Re: [qooxdoo-devel] focused state in appearance theme

2007-05-14 Thread Sebastian Werner
Ralf Sternberg schrieb: > Hi Sebastian, > > Sebastian Werner schrieb: >>> 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" :

Re: [qooxdoo-devel] focused state in appearance theme

2007-05-14 Thread Ralf Sternberg
Hi Sebastian, Sebastian Werner schrieb: >> 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"; >> } >> ... >> >> Thi

Re: [qooxdoo-devel] focused state in appearance theme

2007-05-14 Thread Sebastian Werner
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

[qooxdoo-devel] focused state in appearance theme

2007-05-11 Thread Ralf Sternberg
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 t