Results 1 to 2 of 2

Thread: QScrollBar page area has undesired pattern

  1. #1
    Join Date
    Nov 2014
    Posts
    35
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default QScrollBar page area has undesired pattern

    Hello,

    I'm customizing the theme of my application with QSS and the QScrollBar page area is showing an undesired checkboard pattern:

    QScrollBar.png

    The pattern is a checkboard of the desired background color and white. I have no idea where this white is coming from!

    This is the shortest QScrollBar qss code that reproduced the issue:

    Qt Code:
    1. {
    2. background-color: rgb(65,65,65);
    3. border: 2px solid rgb(50,50,50);
    4. }
    To copy to clipboard, switch view to plain text mode 

    Does anybody know what is the QSS property for the white color? Or for turning off the checkboard pattern?

    Thank you!
    pixaeiro
    http://www.pixaflux.com
    Non-destructive Image Editor

  2. #2
    Join Date
    Nov 2014
    Posts
    35
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QScrollBar page area has undesired pattern

    I found a scrollbar QSS example without the issue I was having at this link:
    https://stackoverflow.com/questions/...-a-qscrollarea
    pixaeiro
    http://www.pixaflux.com
    Non-destructive Image Editor

Similar Threads

  1. QMenu indicator style sheet undesired behaviour
    By Fareanor in forum Qt Programming
    Replies: 4
    Last Post: 20th February 2020, 10:13
  2. RTL QPushButton displays undesired alignment of text and icon
    By seekeroftruth in forum Qt Programming
    Replies: 0
    Last Post: 11th June 2012, 18:10
  3. Scroll Buttons in page Area for QTAbwidget
    By vaibhav in forum Qt Programming
    Replies: 3
    Last Post: 26th August 2011, 14:59
  4. Replies: 0
    Last Post: 16th December 2009, 09:45
  5. Tooltip has undesired border
    By lni in forum Qt Programming
    Replies: 3
    Last Post: 1st May 2009, 15:43

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.