UN-GCPDS / qt-material

Material inspired stylesheet for PySide2, PySide6, PyQt5 and PyQt6
https://qt-material.readthedocs.io/en/latest/
BSD 2-Clause "Simplified" License
2.39k stars 253 forks source link

Any dark theme does not apply properly on Windows 11 #91

Open Advik-B opened 1 year ago

Advik-B commented 1 year ago

Minimal reproducable code example (using QFontComboBox):

from PyQt6.QtWidgets import QApplication, QWidget, QFontComboBox
from qt_material import apply_stylesheet

app = QApplication([])
window = QWidget()
combo = QFontComboBox(window)
combo.move(50, 50)

apply_stylesheet(app, theme='dark_blue.xml')
window.show()
app.exec()

pycharm64_4ckCc62Yeu

My OS is Windows 11 with transparency enabled

earmer commented 1 year ago

Yes and also all lineEdits! They are all black!

I tried to set color in QtDesigner, and when I ran the program, the font color doesn't change at all.

image

In this screenshot, the "username" should be blue but gray because I set the color in QtDesigner.