From a0dc79c4a4f7eeb3164e6f3e606b9e07439cfc4c Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Fri, 3 May 2024 21:19:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=AA=97=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper.py b/helper.py index ea1ed77..70afc5f 100755 --- a/helper.py +++ b/helper.py @@ -109,7 +109,7 @@ layout.addWidget(appInfoShower, 2, 0) layout.addWidget(QLabel(f"<hr>由 Wine 运行器提供支持"), 4, 0) widget.setLayout(layout) window.setCentralWidget(widget) -window.setWindowFlags(Qt.WindowMaximizeButtonHint | Qt.MSWindowsFixedSizeDialogHint) +window.setWindowFlags(Qt.CustomizeWindowHint | Qt.WindowStaysOnTopHint) window.show() SetWindowSize(window)