Results 1 to 2 of 2

Thread: ScrollBar stylesheet (no arrow)

  1. #1
    Join Date
    May 2013
    Posts
    321
    Thanks
    9
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default ScrollBar stylesheet (no arrow)

    Hi all,
    Is it possible to remove arrow of scrollbar correctly to get this result :
    http://uppix.com/f-scrollbar5255dfbd00143489.png
    As you can see, just a line and rect.
    I tried some method but I only got weird result.
    Thanks for the help

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: ScrollBar stylesheet (no arrow)

    Use QSlider, BTW the image also looks like a QSlider not QScrollBar.
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

Similar Threads

  1. Replies: 1
    Last Post: 20th March 2012, 16:09
  2. Replies: 0
    Last Post: 3rd January 2011, 10:25
  3. QListView's scrollbar stylesheet
    By luochen601 in forum Qt Programming
    Replies: 4
    Last Post: 9th September 2010, 06:34
  4. Removing down-arrow
    By zgulser in forum Qt Programming
    Replies: 3
    Last Post: 13th March 2009, 08:55
  5. arrow button
    By boss_bhat in forum Qt Programming
    Replies: 3
    Last Post: 5th June 2006, 12:16

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
  •  
Qt is a trademark of The Qt Company.