Unsolved QTreeWidgetItem checkbox tick color changes with setForeground
-
I am changing the background of QTreeWidgetItems with checkbox.
It changes the label background only as expected (not the checkbox).
When the background is too dark I need to set the label foreground to white.
That changes also the checkbox tick to white. See the last line in the image below:
This is undesirable...and probably a bug?
Can I workaround it?
-
@nunojpg said in QTreeWidgetItem checkbox tick color changes with setForeground:
When the background is too dark I need to set the label foreground to white.
Can you show us how you achieve this?