Hi everyone,

i have style problems with my scrollbars of a Table or ListWidget. I'm using my own QStyle, that works. But when i set my stylesheet to a widget, the customized scrollbars go away.

Example:

1. take the styles example
2. goto to widgetgallery.cpp:165 and add
Qt Code:
  1. tableWidget->setStyleSheet("QTableWidget { background-color: green; } ");
To copy to clipboard, switch view to plain text mode 

See the difference of the Scrollbar of the QTableWidget

Can someone knows the problem?

thx Fil