diff --git a/kria-cluster-3d-demo/qml/main.qml b/kria-cluster-3d-demo/qml/main.qml index dbb8e5b75ed43b4e262b456e0ba784e511c7f4c8..eb9de6a9694f8d8de2a67ccdee8923fddb691279 100644 --- a/kria-cluster-3d-demo/qml/main.qml +++ b/kria-cluster-3d-demo/qml/main.qml @@ -59,7 +59,7 @@ Window { visible: true color: "#000000" title: "Qt 3D Studio Kria 3D Cluster Demo" -// visibility: Window.FullScreen + visibility: Window.FullScreen property bool startupAnimation: true property bool allowSelection: true @@ -94,15 +94,17 @@ Window { Studio3D { id: studio3D - width: parent.width - height: parent.height - anchors.verticalCenter: parent.verticalCenter + anchors.fill: parent onFrameUpdate: { frames++; avgFrames++; } + ViewerSettings { + scaleMode: ViewerSettings.ScaleModeFit + } + Presentation { id: cluster source: "qrc:/presentation/mainPresentation.uia"