summaryrefslogtreecommitdiffstats
path: root/app/Phone.qml
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-05-15 15:02:35 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-06-24 17:53:49 +0300
commit4605f4c6d9d2e06ceea1bd1515bd67e8f75887c8 (patch)
tree8fa3c1c59267e234568c4f5180a30850aeaa6916 /app/Phone.qml
parent921fc99dbd966e2e5cdf34d3710a600e4aee8f26 (diff)
Remove windowmanager depends
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ifb4dfb9c9956ce9ec2fb8599c4fb327b080118f5
Diffstat (limited to 'app/Phone.qml')
-rw-r--r--app/Phone.qml9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/Phone.qml b/app/Phone.qml
index 6ce503c..9ef99af 100644
--- a/app/Phone.qml
+++ b/app/Phone.qml
@@ -19,6 +19,8 @@ import QtQuick 2.6
import QtQuick.Layouts 1.3
import QtQuick.Controls 2.0
+import QtQuick.Window 2.13
+
ApplicationWindow {
id: root
@@ -28,9 +30,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
TabBar {
id: bar