Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snap Layout位置在不同版本qt表现不一样 #69

Open
czyt1988 opened this issue Apr 19, 2024 · 3 comments
Open

Snap Layout位置在不同版本qt表现不一样 #69

czyt1988 opened this issue Apr 19, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@czyt1988
Copy link

czyt1988 commented Apr 19, 2024

同样的代码,qt6.5正常在最大化最小化按钮下面

qt6.7 msvc2019 会在menubar下面

19276e45_3040267

qt5.14效果
3dc30fd89b697b56dc21bc1d48aad35a

@wangwenx190
Copy link
Collaborator

肯定是qt坐标转换出问题了,snap layout只会紧贴在最大化按钮下方

@wangwenx190
Copy link
Collaborator

你是不是哪里处理过鼠标事件,或者你这个ribbon bar是不是套了好几层窗口之类的

@czyt1988
Copy link
Author

是套了几层窗口,但同样代码,在qt6.5是正常的
set-qwindowkit-on-snap

@SineStriker SineStriker added the enhancement New feature or request label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants