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-12 16:20:21 +0300
commitbe8837e88e987349270941d6beb45f3e03baec8c (patch)
tree5587108ba3edbda0a0a9db2bd9bbae67e8dfc4fc /app/Radio.qml
parentfa2c2eb846c527330043c17f1852fead4684a520 (diff)
Remove windowmanager depends
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
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