QTableWidget Stylesheet Border Radius Issue
Unsolved
General and Desktop
-
I have a QTableWidget. I use the following code to give it border-radius:
QTableWidget#table { background-color: #EEEEEE; border-radius: 20px; margin: 10px; border: 1px solid black; } QHeaderView::section { background-color: #CCCCCC; border-radius: 20px; height: 50px; }
I am getting the following output:
If I don't give border radius to header, I get the following output:
I just want the top corners of the table to be rounded properly, without affecting the border radius of the header. Any suggestions?