Results 1 to 3 of 3

Thread: QGraphicsView scrollbar not fully visible

  1. #1
    Join Date
    May 2011
    Posts
    10
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default QGraphicsView scrollbar not fully visible

    I'm using Qt 4.7.1 in XP, and I can't get rid of this annoying feature with QGraphicsView scrollbar. Scrollbar works well, but it's not fully visible. Note that this isn't caused by overlapping widgets. Any ideas how to fix this?

    Screenshot:

    QGraphicsView_scrollbar.png

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QGraphicsView scrollbar not fully visible

    More information is needed.
    It doesn't look like the scrollbar is a QGraphicsView scrollbar since its possible to see some gray area below.
    Is this a proxy scroll area that we see in the scene maybe, and you actually have no scrollbars on your view?
    Please explain more what you have done.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    May 2011
    Posts
    10
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QGraphicsView scrollbar not fully visible

    Thanks for advice. I finally figured out the problem, which actually was a trivial one. (There was some historical code that tried to manually increase the width of the scrollbar. Removing this row solved the problem, though wider scrollbar would have been nice).

Similar Threads

  1. How do I determine if a QTableWidget's scrollbar is visible?
    By fuzzywuzzy01 in forum Qt Programming
    Replies: 3
    Last Post: 23rd February 2012, 17:42
  2. Replies: 3
    Last Post: 7th February 2011, 22:31
  3. No ScrollBar in QGraphicsView
    By sujan.dasmahapatra in forum Qt Programming
    Replies: 7
    Last Post: 26th August 2009, 10:11
  4. Replies: 3
    Last Post: 21st October 2008, 12:41
  5. Bug in QGraphicsView? ScrollBar problems
    By estanisgeyer in forum Qt Programming
    Replies: 7
    Last Post: 13th March 2008, 18:44

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.