spyder-ide / qtawesome

Iconic fonts in PyQt and PySide applications

Home Page:https://qtawesome.readthedocs.io/en/latest/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong default color for disabled state

maflAT opened this issue · comments

commented

According to the docs the default color in disabled state should be grey (150, 150, 150).
However, it is black by default.
Manually setting defaults using qta.set_defaults(color_disabled=QColor(150, 150, 150)) works as expected.

This might be a bug in PySide 6.5, using the wrong colors for disabled widgets when dark mode is enabled in Windows.
https://bugreports.qt.io/browse/QTBUG-114821

Thank you @maflAT for the feedback and sorry for the late response! I think the latest versions of PySide6 (6.5.3/6.6.0) should have fixed this (at least from checking the Qt bug report). Let us know if are able to reproduce this with the latest PySide6 bindings!

Yes, it's fixed in the latest PySide release.