5yutan5 / PyQtDarkTheme

A flat dark theme for PySide and PyQt.
https://pyqtdarktheme.readthedocs.io
MIT License
545 stars 84 forks source link

Style issues with QTree #251

Closed hannesdelbeke closed 1 year ago

hannesdelbeke commented 1 year ago

I have a style issue with QtWidgets.QTreeWidget and QtWidgets.QTreeWidgetItem
when i hover over the item, it looks good (red H)
but when i don't hover over it it's white.

image

hannesdelbeke commented 1 year ago

tested with other stylesheets, it happens with most others including default qt dark mode fusion so likely something wrong with this widget i am using instead of the stylesheet. Oddly 1 stylesheet does display it correctly, but 3 others don't and also have the white issue.

here i compare a brand new tree, with the tree that has the issue. as you see the new tree with dummy data has no problems. image