Results 1 to 5 of 5

Thread: slider handle not centered on tickmarks

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Oct 2014
    Posts
    104
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: slider handle not centered on tickmarks

    After doing some changes on the code, it seems that once the style property is overridden, the problem occurred if the implicitwidth property increases.
    When the implicitWidth is from 200 or more, you will notice that the handle isn't centered in some tickmarks anymore.
    However if without style, the default handle is always centered into tickmarks.

    Any work around on this one?
    Last edited by joko; 27th October 2014 at 16:10.

Similar Threads

  1. QSlider how to check if slider handle is selected
    By hel in forum Qt Programming
    Replies: 3
    Last Post: 15th May 2014, 08:52
  2. drawPoint not centered
    By Alundra in forum Qt Programming
    Replies: 1
    Last Post: 3rd November 2013, 07:38
  3. Dynamic label to right of slider resizes slider
    By zenzero-2001 in forum Qt Programming
    Replies: 2
    Last Post: 3rd October 2013, 10:11
  4. Replies: 2
    Last Post: 21st March 2010, 09:01
  5. Custom (pixmap) slider handle for QScrollBar
    By Antrax in forum Qt Programming
    Replies: 1
    Last Post: 17th October 2006, 11:04

Tags for this Thread

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.