Closed riverbird closed 1 month ago
Describe the bug A clear and concise description of what the bug is. 采用pyside6-6.7.0版本后,windows下面会采用windows11的风格,菜单显示不全。
Environment 环境信息
To Reproduce 在其它Qstyle下面正常,但是在windows11的风格下面菜单显示不正常。
Code 最小复现代码
# Minimum code to reproduce the error self.titleBar.layout().insertWidget(0, menu_bar, 0, Qt.AlignmentFlag.AlignLeft) self.titleBar.layout().insertStretch(1, 1) self.setMenuWidget(self.titleBar)
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
附上截图。
估计是pysdie6的bug,如果是6.7.0,阴影效果也不行了:https://github.com/zhiyiYo/PyQt-Fluent-Widgets/issues/848
更换默认 app style 为 fusion 试试
Describe the bug A clear and concise description of what the bug is. 采用pyside6-6.7.0版本后,windows下面会采用windows11的风格,菜单显示不全。
Environment 环境信息
To Reproduce 在其它Qstyle下面正常,但是在windows11的风格下面菜单显示不正常。
Code 最小复现代码
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.