informatics
27th February 2007, 16:18
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
tableWidget->setStyleSheet("QTableWidget { background-color: green; } ");
See the difference of the Scrollbar of the QTableWidget
Can someone knows the problem?
thx Fil
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
tableWidget->setStyleSheet("QTableWidget { background-color: green; } ");
See the difference of the Scrollbar of the QTableWidget
Can someone knows the problem?
thx Fil