Reset scrollbar on VerticalLayout

Hi all.
I have VerticalLayout with large amount of panels.
When I call removeAllComponents() and add another panels, scrollbar on layout stay on previous position.
It is possible to scroll to top?



VerticalLayout should not scroll, so I suppose you have it as the content of your UI or Window. In that case there are methods setScrollLeft and setScrollTop which you can call to reset the scroll position.