summaryrefslogtreecommitdiffstats
path: root/app/main.qml
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-05-15 13:18:35 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-06-24 17:58:33 +0300
commit69e06e2773bc61f116dc7c1de68f8efee4c2f333 (patch)
tree803d0940d702603b145547b262d2b544b10681b6 /app/main.qml
parentd675319c068825b181c01994bf49c286437dacf8 (diff)
Remove windowmanager depends
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ic261b03eb51f874d5c6cfeeeece0f5d77d0eca98
Diffstat (limited to 'app/main.qml')
-rw-r--r--app/main.qml9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/main.qml b/app/main.qml
index 2f6bda3..e4a6b60 100644
--- a/app/main.qml
+++ b/app/main.qml
@@ -5,6 +5,8 @@ import QtQuick.Layouts 1.1
import TaskManager 1.0
import QtCharts 2.2
+import QtQuick.Window 2.13
+
ApplicationWindow {
id: root
visible: true
@@ -63,9 +65,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
TabView {
id: mainTabview