Thanks for reply.
Actually I have tried this but nothing changes.The image is still not in the center of the dialog.
Thanks for reply.
Actually I have tried this but nothing changes.The image is still not in the center of the dialog.
Use QScrollArea::setAlignment(). And use a layout to place the scrollarea into the dialog instead of hardcoding its geometry.
J-P Nurmi
Thanks for reply.
But I m using Qt 4.1.5 and it does not have that property for QScrollArea.
Call setWidgetResizable(true) on the scroll area.
vishal.chauhan (21st August 2007)
Bookmarks