summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-07-03 12:19:26 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-07-03 12:19:26 +0300
commita3a28f6ec4b15b7258eb5295fca31f3e57a4fa0c (patch)
tree8d46ef72c7e4ad40c424c9c626de9abc3ce5ecf1
parent227885a25ffa700af7e5d02b8120eb3873240936 (diff)
Bug-AGL: SPEC-3348sandbox/mvlad/scale-layout
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
-rw-r--r--app/Dashboard.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Dashboard.qml b/app/Dashboard.qml
index ad6aec4..3dbff3b 100644
--- a/app/Dashboard.qml
+++ b/app/Dashboard.qml
@@ -56,10 +56,10 @@ ApplicationWindow {
Item {
id: container
anchors.centerIn: parent
- width: Window.width
- height: Window.height
- //scale: screenInfo.scale_factor()
- scale: 1
+ height: 1920 - 218 - 215
+ width: 1080
+ scale: (Screen.height / 1920.0)
+
Label {
id: speed