Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
4.4.0
-
None
Description
When setting the horizontalScrollBarPolicy to Qt::ScrollBarAlwaysOff in a
QGraphicsView, the horizontal size of the scene is not correctly calculated. The height is reduced by the horizontal scrollbar's height.
This might be by modifying the following line in source:
qgraphicsview.cpp#336:
if (viewRect.width() > width - scrollBarExtent &&
hbarpolicy !=Qt::ScrollBarAlwaysOff )
This problem also exist in Qt 4.3.2.
Attachments
Issue Links
- duplicates
-
QTBUG-14711 QGraphicsView does not fully respect scrollbar policies set to Qt::ScrollBarAlwaysOff
-
- Closed
-