From 830921faab68c1d4b00b9a93a99a1584c59baf34 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 22 Jan 2020 21:04:23 +0200 Subject: launcher/qml/Launcher: Specify window size based on what the compositor gives us Signed-off-by: Marius Vlad Change-Id: Ifdbe39f441c8d960f062f6d810e33922e1ed88ba --- launcher/qml/Launcher.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/launcher/qml/Launcher.qml b/launcher/qml/Launcher.qml index 2247f51..822c964 100644 --- a/launcher/qml/Launcher.qml +++ b/launcher/qml/Launcher.qml @@ -18,6 +18,7 @@ import QtQuick 2.6 import QtQuick.Layouts 1.1 import QtQuick.Controls 2.0 +import QtQuick.Window 2.11 import AppModel 1.0 ApplicationWindow { @@ -29,9 +30,9 @@ ApplicationWindow { Item { id: container anchors.centerIn: parent - width: 1080 - height: 1488 - scale: screenInfo.scale_factor() + width: Screen.width + height: Screen.height + scale: 1 Image { anchors.centerIn: parent -- cgit 1.2.3-korg