citic / botNeumann

A metaphorized and gamified visualization of the von Neumann architecture for programming learning
1 stars 0 forks source link

Make ScenicElements layouts #129

Closed jeissonh closed 7 years ago

jeissonh commented 7 years ago

It is normal to have QGraphicsItem nested, and we need to use the same Layout system to adjust the children automatically when resizing the scene.

jeissonh commented 7 years ago

A workaround was made: ScenicElements can have a layout in charge of resizing child ScenicElements.