Quote Originally Posted by wysota View Post
Well... This does not basically make much sense. You should have a layout there as well and the layout should be responsible for managing the size. Your first step should really be to start using layouts everywhere instead of manual setGeometry calls.
Okies, I am going to explore that next. Just for the sake of trying I used a GridLayout in my TestWidget class, as a result of which I am able to get the scrollBar without having to manually call the Geometry functions, as mentioned by you.
But then the spacing between the Child Widgets (of the GridLayout) change when I run the program compared to how it appears in the .ui file (I used drag and drop for a quick trial). So I will get back once I have read the documentation and gone through some Layout examples.