Commit a145dec5 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.NodeInstances: Set the scene size at scene creation time

parent 3d47acf1
......@@ -186,6 +186,11 @@ void NodeInstanceServer::createScene(const CreateSceneCommand &command)
foreach(ServerNodeInstance instance, instanceList)
instance.doComponentComplete();
m_declarativeView->scene()->setSceneRect(rootNodeInstance().boundingRect());
nodeInstanceClient()->informationChanged(createAllInformationChangedCommand(instanceList, true));
nodeInstanceClient()->valuesChanged(createValuesChangedCommand(instanceList));
sendChildrenChangedCommand(instanceList);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment