QColorDialog on win11, the input box is overwritten
-
i use python 3.12.5,and pyqt6 6.7.1, on win10 is normal
but on win11, this QColorDialog all the input box is overwritten,
how can i do? Can someone help me?thank you!the use code:
color = QColorDialog(self).getColor(
text_color, self, get_label('setting_font_color', 'XXX'))the pyqt6 version info:
Name: PyQt6
Version: 6.7.1
Summary: Python bindings for the Qt cross platform application toolkit
Home-page: https://www.riverbankcomputing.com/software/pyqt/
Author:
Author-email: Riverbank Computing Limited info@riverbankcomputing.com
License: GPL v3
Location: D:\Yuanzehong\install\Python312\Lib\site-packages
Requires: PyQt6-Qt6, PyQt6-sip
Required-by:the win11 info:
版本 Windows 11 专业版
版本号 23H2
安装日期 2024/8/16
操作系统版本 22631.3880
体验 Windows Feature Experience Pack 1000.22700.1020.0 -
Hi and welcome to devnet,
Try forcing the style to
windowsvista
. -