Thank you. That solved it :D
I need to set a fix scene rect for the view, because it always move the rectangle to the left boarder when i changed the size, but now everything is working :D
QGraphicsView ableiten und resizeEvent() überladen.
Darin dann per setSceneRect() die Scene-Größe setzen und alle deine items manuell layouten.
QGraphicsItem::setPos() um die Position zu setzen.
Ich nehme mal an du verwendest QGraphicsRectItems?