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

[qooxdoo-devel] Focused state

2006-09-14 Thread dperez
Hi, When I click a List, it doesn't receive the focused state. On the other hand, when I select the List with the tab, it does receive the focused state. Surely, it must be because, the ListItem receives the focused state in the first case. I would like to highlight always Lists that have focus.