From db626ea8729a3d4d7c41bd411b1228f3f7468c2a Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Sun, 30 Oct 2022 23:29:23 +0600 Subject: [PATCH] qt: force the screen output widget to be resizable --- src/qt/qt_mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qt/qt_mainwindow.cpp b/src/qt/qt_mainwindow.cpp index 5b23a859f..d8c0825f4 100644 --- a/src/qt/qt_mainwindow.cpp +++ b/src/qt/qt_mainwindow.cpp @@ -1544,6 +1544,7 @@ void MainWindow::on_actionFullscreen_triggered() { ui->menubar->hide(); ui->statusbar->hide(); ui->toolBar->hide(); + ui->stackedWidget->setFixedSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX); showFullScreen(); if (vid_api == 5) QTimer::singleShot(0, this, [this] () { ui->stackedWidget->switchRenderer(RendererStack::Renderer::Direct3D9); }); }