Hi,
I've another issue regarding the TreeVirtuals. It's even visible in the
demo applications for this widget. The folder icon should be set
dependend on the state of the node: opened or closed. This is defined in
the appearances of the SimpleTreeDataCellRenderer but it has no effect.
I tried to investigate this and hit the styleFrom method from
qx.theme.manager.Appearance where there is computed a sum which I guess
is wrong.
// Compute sum
var sum = 0;
for (var state in states)
{
if (bits[state] == null) {
bits[state] = 1<<entry.$$length++;
}
sum += bits[state];
}
I haven't understood the code fully, but the sum is computed from the bits
values which seems to be a dictionary of valid values. This could be wrong as
one would like to add the actually set values, aka
sum += states[state];
I tried it and it worked regarding the icons but raised other issues like the
scrollbar having approx. 10th of the usual width. Maybe someone with a little
more understanding could have a look?
Cheers,
Gereon
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel