I have put the scroll area into another layout. and finally all the layouts are put into one single vLayout.
I have done this so as to display in another class containing tabs, so the final vLayout goes into the another widget and then displayed on tabs