Launcher.qml: Use Window widths/heights instead of using the Screen 24/24824/1
authorMarius Vlad <marius.vlad@collabora.com>
Fri, 29 May 2020 10:36:35 +0000 (13:36 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 24 Jun 2020 14:05:32 +0000 (17:05 +0300)
Bug-AGL: SPEC-3379

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie6ef5238953ad28de2b53476a61a5c547a7ecc9c

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