View Full Version : [solved] Horizontal scrollbar isn't show up.

18th June 2010, 00:16
In PyQt4 application I use QGraphicsView and QGraphicsScene in it, which can be scaled. Vertical scrollbar show up, but horizontal is not. Why? I haven't used anything what can make such unsimmetric behavior. And even after inclusion of

MainWnd.GrahicsViewMain.setHorizontalScrollBarPoli cy(Qt.ScrollBarAlwaysOn)
MainWnd.GrahicsViewMain.horizontalScrollBar().show ()

nothing changes.

EDIT: Horizontal scrollbar was hidden under another widget. It works OK.

18th June 2010, 01:45
Seems that you are not using layouts. You should reconsider this decision.