summaryrefslogtreecommitdiffstats
path: root/app/Mixer.qml
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-05-15 14:43:07 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-06-24 18:13:10 +0300
commit1cdeaaa97e3e40812e2b0c6f7ed0ad56b98fdd8c (patch)
treebca933e6157a669dc59c69e1b65b264914ad67d0 /app/Mixer.qml
parent4d2c81532462b8054fac05d7638f1eef2eca787c (diff)
Remove windowmanager deps
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Iad417b60fc3b2c4639396d5ed5aaddbd7018e10e
Diffstat (limited to 'app/Mixer.qml')
-rw-r--r--app/Mixer.qml9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/Mixer.qml b/app/Mixer.qml
index a012645..80c3d77 100644
--- a/app/Mixer.qml
+++ b/app/Mixer.qml
@@ -20,6 +20,8 @@ import QtQuick.Controls 2.0
import AGL.Demo.Controls 1.0
import Mixer 1.0
+import QtQuick.Window 2.13
+
ApplicationWindow {
// ----- Signals
@@ -28,8 +30,8 @@ ApplicationWindow {
// ----- Setup
id: root
- width: 1080 * roles.scale
- height: 1487 * roles.scale
+ width: Screen.width * roles.scale
+ height: Screen.height * roles.scale
// ----- Childs
Label {
@@ -52,7 +54,8 @@ ApplicationWindow {
ListView {
id: roles
model: mixer.roles
- scale: scale_factor
+ //scale: scale_factor
+ scale: 1
anchors.margins: 80
anchors.top: title.bottom