Try not to set the scene rect by using the view. Only use QGraphicsScene::setSceneRect(). And did you draw the arrows outside the bounding rect of the items?
Try not to set the scene rect by using the view. Only use QGraphicsScene::setSceneRect(). And did you draw the arrows outside the bounding rect of the items?
I'm trying with both, and with both at the same time as well and it's the same.Try not to set the scene rect by using the view
Yes, actually I can even move them. I can also create, by code, new items outside the viewport but only access to them if I resize the view manually.And did you draw the arrows outside the bounding rect of the items?
Is it, for any chance, the expected behavior?
You didn't get me right. Did you draw the arrows yourself in the paint method of a subclassed item? If so, make sure, you respect the bounding rect of that item, that you don't draw outside.
Anyway, can you make a minimal compilable example reproducing your problem.
Bookmarks