From 3c6dc7e27b2e5642af9c9451bb33d69f108f85bb Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Fri, 15 May 2020 13:48:38 +0300 Subject: Remove windowmanager depends Signed-off-by: Marius Vlad --- app/Dashboard.qml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'app/Dashboard.qml') diff --git a/app/Dashboard.qml b/app/Dashboard.qml index 7371667..a21bf6c 100644 --- a/app/Dashboard.qml +++ b/app/Dashboard.qml @@ -20,6 +20,8 @@ import QtQuick.Layouts 1.1 import QtQuick.Controls 2.0 import Translator 1.0 +import QtQuick.Window 2.13 + ApplicationWindow { id: root @@ -54,9 +56,10 @@ ApplicationWindow { Item { id: container anchors.centerIn: parent - width: 1080 - height: 1487 - scale: screenInfo.scale_factor() + width: Screen.width + height: Screen.height + //scale: screenInfo.scale_factor() + scale: 1 Label { id: speed -- cgit 1.2.3-korg