Internal margin around items in QGraphicsScene/QGraphicsView

Viewed 19

In my application, I have a QGraphicsView which displays a QGraphicsScene with items. I have aligned my scene to the top-right of the view with QgraphicsView::setAlignment.

However, I would like to have an internal margin around my items, so that they are not right next to the top-left border of the view.

Is there any way I can achieve this without fiddling with the sceneRect ?

0 Answers
Related