Hi everyone
I've encountered a problem while using sheets with Qt Designer. I try to set color for a row as a gradient like this
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #ffffff, stop: 1 #ecf9ff);
}
QTableWidget
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #ffffff, stop: 1 #ecf9ff);
}
To copy to clipboard, switch view to plain text mode
But instead of painting a row with this gradient it paints all rows from top to bottom with it like it is a solid piece
Bookmarks