Results 1 to 1 of 1

Thread: qscrollbar styling

  1. #1
    Join Date
    Apr 2008
    Posts
    2

    Default qscrollbar styling

    hi.
    Qt fills scrolling background with non-solid pattern, so that when I
    i specify
    Qt Code:
    1. setStyleSheet(
    2. "QScrollBar:vertical{"
    3. "background: black; "
    4. "margin: 15px 0px 15px 0px; "
    5. "border-width: 1px;"
    6. "border-style: solid;"
    7. "}\n"
    To copy to clipboard, switch view to plain text mode 
    i see only grey background. I use qt 4.4 rc1 and am compiling 4.4.0 right now.

    can somebody help me?
    Last edited by jpn; 12th May 2008 at 20:49. Reason: missing [code] tags

Similar Threads

  1. Styling QComoBox using CSS Stylesheet
    By bjoernbg in forum Qt Programming
    Replies: 1
    Last Post: 7th October 2010, 00:12
  2. Problems styling QScrollBar / QPushButton
    By December in forum Qt Programming
    Replies: 0
    Last Post: 20th January 2008, 07:53
  3. override wheelEvent for QScrollBar
    By ChasW in forum Qt Programming
    Replies: 6
    Last Post: 25th January 2007, 10:50
  4. Replies: 2
    Last Post: 17th July 2006, 21:09
  5. Customizing QScrollBar
    By Jimmy2775 in forum Qt Programming
    Replies: 2
    Last Post: 2nd February 2006, 19:01

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.