Sorry for bugging you, Tristan!
Yes, the change for the CSS selector with setting specific theme-wide
colors with
colors :
{
"selected-start" : "#E5E5E5",
"selected-end" : "#C5C5C5",
"text-selected" : "#222222",
"text-active" : "#222222"
}
in Appearance.js, or also more specific on item level works on all
recent types of browsers I have (Opera, Chrome, Safari, Firefox) but not
IE (because it uses a background png for this effect to happen).
The weird thing is not that there is no selection visible, but that NO
HTML is generated for a selection element, when the background image
path is changed in Decoration.js.
Must be some generator magic...
Thxs, Werner
On 15.11.2011 14:24, Tristan Koch wrote:
> Hi Werner,
>
> am I understanding you correctly that changing the selection background works
> in browsers other than IE? You don't mention it explicitly.
>
> This may be related to the alpha fixes, currently applied to all versions of
> IE.
>
> Am 15.11.2011 um 13:53 schrieb Werner Thie:
>
>> Hi all
>>
>> Wishing to change the selection of my tree items I added a "selected"
>> section to my project local file 'Decoration.js', which now looks like:
>>
>> decorations :
>> {
>> "selected" :
>> {
>> decorator : qx.ui.decoration.Background,
>> style :
>> {
>> // original backgroundImage : "decoration/selection.png",
>> backgroundImage : "some/other/path/selection.png",
>> backgroundRepeat : "scale"
>> }
>> }
>> }
>>
>> Now I see NO selection at all - expecting to see at least a 404 in the
>> server logs, I saw none.
>>
>> Peeking at the DOM in IE revealed, that NO background element is
>> generated at all, when the image path differs from the original,
>> although a background element is generated when the path is original.
>>
>> To add to the weirdness, qx.ui.form.List shows the desired background,
>> when qx.ui.tree does not.
>>
>> What am I missing?
>>
>> Thxs, Werner
>> <werner.vcf>------------------------------------------------------------------------------
>> RSA(R) Conference 2012
>> Save $700 by Nov 18
>> Register now
>> http://p.sf.net/sfu/rsa-sfdev2dev1_______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel