You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Taking the example program as an example, when I change the example to inherit from QDialog, the maximize button in the sample program cannot maximize the window; it only moves the window slightly downward with a white border added above; In the example, inheriting from QWidget/QMainwindow does not cause this issue.
Additionally, in the sample program, when you click the Pin button, although the window can be fixed, the overall window moves down by a certain distance.
Activity
wangwenx190 commentedon Jun 20, 2026
What's your Qt version? Maybe you can try a different version. Sounds like a Qt bug
yangrcaaa commentedon Jun 29, 2026
6.8.3, I haven't tried using a different Qt version yet, but I might try in the future
wangwenx190 commentedon Jul 1, 2026
demo里很多代码都是针对QMainWindow设计的,你直接改成QDialog不一定行,你可以自己建一个工程,用QDialog尝试
yangrcaaa commentedon Jul 1, 2026
我最开始就是在自己的项目中使用的,也新建过工程进行尝试,目前能确认qt6.8.3 qdialog与本项目存在兼容性问题😃