when I'm starting my program I have 2 scroll bars one horizontal and one vertical. When I'm resizing the QMainWindow these scroll bars are remaining always with the same size ,or may be position
check the reimplementation of resize event ....
fitInView(scene->sceneRect(), Qt::KeepAspectRatio);