summaryrefslogtreecommitdiffstats
path: root/app/Radio.qml
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-05-15 19:22:35 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-06-24 17:55:05 +0300
commitb4b22f3269ff177b96ed366333c8d4c2debb8554 (patch)
tree215cca54e461643c1112c950db539fdf2292e832 /app/Radio.qml
parent9a7b9670a5dc4af79c8637803888dfdcea033476 (diff)
Remove windowmanager depends
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I0530e4a89a24cb1cf730dde4e25675d2d4a01f7a
Diffstat (limited to 'app/Radio.qml')
-rw-r--r--app/Radio.qml9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/Radio.qml b/app/Radio.qml
index 6b7c951..e981219 100644
--- a/app/Radio.qml
+++ b/app/Radio.qml
@@ -20,6 +20,8 @@ import QtQuick.Layouts 1.1
import QtQuick.Controls 2.0
import AGL.Demo.Controls 1.0
+import QtQuick.Window 2.13
+
ApplicationWindow {
id: root
@@ -39,9 +41,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
ColumnLayout {
anchors.fill: parent