i am unable to display the scrollbar using the below code.
QScrollBar *scroll = new QScrollBar(window );
setCentralWidget(scroll);

scrollbar is coming but not at the top right corner of the widget and it is of huge size.
I am trying to put that into my image gallery to scroll the images up and down in a grid.

Information on this would be helpful.

Regards,
Prajna