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.4k stars 254 forks source link

Checkboxes in QTableWidget|QListWidget are not displayed properly unless cell is selected #34

Closed artem30801 closed 3 years ago

artem30801 commented 3 years ago

OS: WIndows 10 QT Library: PySide6 (6.2.0) Basically, what it says. Checkboxes in QTableWidget cells are displayed with default qt style unless the cell/item is selected. Same situation with QListWidget.

When table cell is not selected: image When table cell is selected: image QListWidget: image

5yutan5 commented 3 years ago

Hi, @artem30801. I think this is a Qt6 bug. I found a solution and created pull-request.

artem30801 commented 3 years ago

Thank you very much both for PR and for fast merge! Just tested it out, can confirm that everything works properly now as far as I can tell