Nope, default is center according to the api. The alignment also isn't associated with QGraphicsScene, it's with QGraphicsView:
"For example, if the alignment is Qt::AlignCenter, which is default, the scene will be centered in the view", but this apparently only holds true "If the whole scene is visible in the view", which it is not when the offset lines are drawn.
If you look at the code with the commented section... I draw a picture (QImage) and I display two lines that show x and y offsets associated with the picture. If I don't draw those lines centerOn works fine. Otherwise the picture gets crammed in the top left corner. I'll try specifically setting the alignment to center, even though both the 4.5 and 4.6 state the default is Qt::AlignCenter and I'm using default. I'll try it when I get home but I can't imagine this being the problem.
Bookmarks