Hi All,

I am add support for user created 'skins' to my program by loading style sheets.

Everything works great except 2 small problems:

1) I can't seem to set the lighter color on the etched text on a disabled QPushButton, or disable the Etching all together.

2) I can't set a solid background on a QScrollBar, it always shows up with hatching, and I can't figure out how to set the 2nd color on the hatch.



Here is the style sheet code for the scrollbar:
Qt Code:
  1. scrollbar:vertical {
  2. border: 1px solid #802B8E;
  3. background: black;
  4. width: 15px;
  5. margin: 15px 0px 15px 0px;
  6. }
  7.  
  8. scrollbar::handle:vertical {
  9. background: #333333;
  10. min-height: 15px;
  11. }
  12.  
  13. scrollbar::add-line:vertical {
  14. border-left: 1px solid #802B8E;
  15. border-bottom: 1px solid #802B8E;
  16. background: black;
  17. height: 15px;
  18. subcontrol-position: top;
  19. subcontrol-origin: margin;
  20. }
  21.  
  22. scrollbar::sub-line:vertical {
  23. border-left: 1px solid #802B8E;
  24. border-top: 1px solid #802B8E;
  25. background: black;
  26. height: 15px;
  27. subcontrol-position: bottom;
  28. subcontrol-origin: margin;
  29. }
  30.  
  31. scrollbar::up-arrow:vertical {
  32. image: url(./arrow_down.png)
  33. }
  34.  
  35. scrollbar::down-arrow:vertical {
  36. image: url(./arrow_up.png)
  37. }
To copy to clipboard, switch view to plain text mode 

Anyone know what's going wrong?

Thanks