I have type some code to fill the whole QTreeWidget with single color:
myTree->setStyleSheet("border: 1px solid green; background: green;");
But as a result, the header color is not a solid color. Instead, the header has a gradient with two contrast lines.
How can I disable this effect and fill the header with a solid color?