From ad3b84ff72389ff1e3e5d75b4f9eb1d101367876 Mon Sep 17 00:00:00 2001
From: Tomi Korpipaa <tomi.korpipaa@qt.io>
Date: Mon, 12 Feb 2018 09:27:38 +0200
Subject: [PATCH] Fix fullscreen scaling for desktops

---
 kria-cluster-3d-demo/qml/main.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kria-cluster-3d-demo/qml/main.qml b/kria-cluster-3d-demo/qml/main.qml
index eb8746f..dc1841d 100644
--- a/kria-cluster-3d-demo/qml/main.qml
+++ b/kria-cluster-3d-demo/qml/main.qml
@@ -83,11 +83,11 @@ Item {
     Studio3D {
         id: studio3D
         width: parent.width
-        height: width * 0.375 // based on the aspect ratio of the presentation
+        height: parent.height //width * 0.375 // based on the aspect ratio of the presentation
         anchors.verticalCenter: parent.verticalCenter
 
         ViewerSettings {
-            scaleMode: ViewerSettings.ScaleModeFit
+            scaleMode: ViewerSettings.ScaleModeFill
         }
 
         Presentation {
-- 
GitLab