View Single Post
Old 07-27-2019, 02:14 AM   #85
asleyam
Enthusiast
asleyam is less competitive than you.asleyam is less competitive than you.asleyam is less competitive than you.asleyam is less competitive than you.asleyam is less competitive than you.asleyam is less competitive than you.asleyam is less competitive than you.asleyam is less competitive than you.asleyam is less competitive than you.asleyam is less competitive than you.asleyam is less competitive than you.
 
Posts: 35
Karma: 14720
Join Date: Mar 2016
Device: kindle voyage, Kobo Forma, Kobo Aura One
Quote:
Originally Posted by KevinH View Post
Looking more closely the alternating colours are all in Tables/TreeViews, etc.

<snip>
In a stylesheet you should look to change or add the "alternate-background-color" property for QTableView, QTableWidget, QTreeView, and QTreeWidget.

See https://doc.qt.io/qt-5/stylesheet-reference.html for more details.

Hope this helps.

KevinH
Thanks, I added the alternate color to the qt stylesheet. I decided on #232629 and the result is kinder to my eyes.
Attached Thumbnails
Click image for larger version

Name:	background alternate.png
Views:	263
Size:	12.1 KB
ID:	172603  
asleyam is offline   Reply With Quote