scrollToKeepItemVisible TreeView and invalid height

Hi Jules,

scrollToKeepItemVisible in TreeView do not seems to works correctly if the TreeView height has not been set yet.
If I postpone this after the TreeView size is set, it works fine.

Not sure if you consider this a bug or not.

Thanks,

I just tried it and it seemed to work for me…?

I’ll see if I can reproduce it in the juce demo.

Thanks,