Alwayse show scrollbars for scene.

--HG--
branch : develop
This commit is contained in:
dismine 2014-05-27 12:06:36 +03:00
parent d487d06384
commit ed844c1c82

View File

@ -67,6 +67,8 @@ MainWindow::MainWindow(QWidget *parent)
connect(sceneDetails, &VMainGraphicsScene::mouseMove, this, &MainWindow::mouseMove);
view = new VMainGraphicsView();
ui->LayoutView->addWidget(view);
view->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
view->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
view->setScene(currentScene);
sceneDraw->setTransform(view->transform());