Hi,

I have a text entry whose background color is black and I want its scrollbar track color also to be black. But I get some pattern/texture similar to transparent part of a layer we see in Photoshop, applied to scrollbar's track.

Below is my code:
Qt Code:
  1. from PyQt5.QtWidgets import QApplication, QPlainTextEdit
  2.  
  3. app = QApplication([])
  4.  
  5. t = QPlainTextEdit('blah ' * 100, styleSheet='background: black; color: white; font-size: 12pt')
  6. t.verticalScrollBar().setStyleSheet('background: black')
  7.  
  8. t.show()
  9. app.exec_()
To copy to clipboard, switch view to plain text mode 

in case someone want to know my problem visually, I have added an image showing gotten and desired (Photoshopped) result. See below:
Untitled-3.png

This is a very important issue for me, please kindly solve it if you can. I shall be very thankful to you.