diff --git a/src/qteletextmaker/mainwindow.cpp b/src/qteletextmaker/mainwindow.cpp index 362ef58..df9ec94 100644 --- a/src/qteletextmaker/mainwindow.cpp +++ b/src/qteletextmaker/mainwindow.cpp @@ -358,6 +358,7 @@ void MainWindow::init() m_textView->setRenderHints(QPainter::SmoothPixmapTransform); m_textView->setBackgroundBrush(QBrush(QColor(32, 48, 96))); m_zoomSlider->setValue(m_viewZoom); + setSceneDimensions(); setCentralWidget(m_textView); connect(m_textWidget->document(), &TeletextDocument::cursorMoved, this, &MainWindow::updateCursorPosition);