@@ -585,5 +585,7 QAction* Window::createMenuAction(QMenu *menu, const QIcon &icon, const QString | |||||
585 |
|
585 | |||
586 | void Window::handleGeometryChanged() |
|
586 | void Window::handleGeometryChanged() | |
587 | { |
|
587 | { | |
|
588 | QSizeF size = m_baseLayout->sizeHint(Qt::MinimumSize); | |||
588 | m_view->scene()->setSceneRect(0, 0, this->width(), this->height()); |
|
589 | m_view->scene()->setSceneRect(0, 0, this->width(), this->height()); | |
|
590 | m_view->setMinimumSize(size.toSize()); | |||
589 | } |
|
591 | } |
General Comments 0
You need to be logged in to leave comments.
Login now