summaryrefslogtreecommitdiffstats
path: root/app/Dashboard.qml
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-05-15 13:48:38 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-06-12 15:22:53 +0300
commit3c6dc7e27b2e5642af9c9451bb33d69f108f85bb (patch)
tree1ead817c74b75bb1dd3e7b5ef0162aab0e0cac2d /app/Dashboard.qml
parent8b4d23f03c7acf3bb61f3b579ab5b3ea062b0f7a (diff)
Remove windowmanager depends
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Diffstat (limited to 'app/Dashboard.qml')
-rw-r--r--app/Dashboard.qml9
1 files changed, 6 insertions, 3 deletions
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