From f893ad5e1b6194c1c914bc768a15e0d0f1616db1 Mon Sep 17 00:00:00 2001 From: Gavin MacGregor Date: Sun, 12 Jan 2025 15:36:18 +0000 Subject: [PATCH] Fix geometry when loading with zoom set to minimum --- src/qteletextmaker/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) 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);