summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-05-14 01:25:01 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-06-24 17:19:52 +0300
commit09c3584104d55206738741f79a279ae5f330effb (patch)
tree7b55d1c75c9e48c5853b7bcf48dd8d1131e1bb17
parentae28dfcb91772fdeae51e38f3d43be0a879a0e01 (diff)
app/navigation.qml: Use screens width and height
Bug-AGL: SPEC-3379 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I63d51f127dc123da891b182bf5f2134f319e4ef0
-rw-r--r--app/navigation.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/navigation.qml b/app/navigation.qml
index 88bb38e..b98508f 100644
--- a/app/navigation.qml
+++ b/app/navigation.qml
@@ -21,12 +21,13 @@ import QtQuick.Controls 2.0
import QtWebSockets 1.0
import QtLocation 5.9
import QtPositioning 5.6
+import QtQuick.Window 2.11
ApplicationWindow {
id: root
visible: true
- width: 1080
- height: 1488
+ width: Window.width
+ height: Window.height
title: qsTr("navigation")
property real car_position_lat: fileOperation.getStartLatitude()