If I use code folding in QML and the folded source code is very long and the folded element is on the bottom of the code file than the preview
is not completly displayed.
This is due to the fact that the preview is always displayed below the element. I think it would make more sense to check
where the most space is (i.e. lower half of screen show on top of element)
I hope the screenshot will make things more clear.
Another thing I realized is that the QML code folding does not display the elements id, thus code folding is hard to get in the QML editor.