Launcher.qml: Use Window widths/heights instead of using the Screen
authorMarius Vlad <marius.vlad@collabora.com>
Fri, 29 May 2020 10:36:35 +0000 (13:36 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Fri, 29 May 2020 10:41:04 +0000 (13:41 +0300)
Bug-AGL: SPEC-3379

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
launcher/qml/Launcher.qml

index 27b0d3d..347cdfb 100644 (file)
@@ -30,8 +30,8 @@ ApplicationWindow {
     Item {
         id: container
         anchors.centerIn: parent
-        width: Screen.width
-        height: Screen.height
+        width: Window.width
+        height: Window.height
         //scale: screenInfo.scale_factor()
         scale: 1