When I was trying to highlight selected QTreeWidgetItem the display is not proper as expected. I expected the behaviour should highlight only the text portion of the QTreeWidgetItem, but iam getting the highlight till the end of the widget area and is not proper. I have used the below code in the constructorof my class.
Qt Code:
setPalette(palette);To copy to clipboard, switch view to plain text mode
Thanks in advance.
Bookmarks