|
|
Re: TreeLayer: Retrieve items lazily does not work properly [message #1752515 is a reply to message #1752512] |
Tue, 24 January 2017 16:02 |
Marc M Messages: 5 Registered: June 2014 Location: France |
Junior Member |
|
|
Ah, yes, thanks for hinting to the comparator. It was indeed the reason for the elements being in the wrong order in the list.
Now it is in the correct order:
[Root, Depth 1 #1, Depth 2 #1, Depth 3 #1, Depth 1 #2, Depth 2 #2, Depth 3 #2]
Even the tree printed to stdout is correct:
- Root
- Depth 1 #1
- Depth 2 #1
Depth 3 #1
- Depth 1 #2
- Depth 2 #2
Depth 3 #2
However, still, the graphical output is wrong: "Depth 1 #2" is put under "Depth 3 #1:
I see that you might not have the time to look into the updated code; maybe s.o. else can:
http://pastebin.com/s1DVRRvr
Maybe you have an idea why this behaviour might occur.
Thank you very much in advance,
Marc
|
|
|
|
Powered by
FUDForum. Page generated in 0.04207 seconds