-
-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
A clear and concise description of what the bug is.
即便给窗口指定了 setResizeEnable(False),当窗口挪动到显示器顶部,还是会弹出自动布局的提示,并且可以改变尺寸
Environment
环境信息
- OS: Windows11(Windows10没有测试)
- DPI scaling: [e.g. 100%]
- Python: 3.7
- PyQt5: PySide2
To Reproduce
打开窗口后,把窗口往桌面顶上挪动,打开Windows系统自带的辅助布局

Code
最小复现代码
# coding:utf-8
import sys
from PySide2.QtCore import QRect, QSize, Qt
from PySide2.QtGui import QColor, QPixmap, QIcon
from PySide2.QtWidgets import QApplication, QLabel
from qframelesswindow import FramelessWindow
class Window(FramelessWindow):
def __init__(self, parent=None):
super().__init__(parent=parent)
self.setResizeEnabled(False)
app = QApplication(sys.argv)
demo = Window()
demo.show()
sys.exit(app.exec_())Expected behavior
正常复现
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working