PDA

View Full Version : QGraphicsView scrollbar not fully visible



jazuju
20th May 2011, 11:18
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:

6453

high_flyer
20th May 2011, 14:07
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.

jazuju
25th May 2011, 10:38
Thanks for advice. I finally figured out the problem, which actually was a trivial one. :o (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).