From: Marius Vlad Date: Fri, 17 Jul 2020 22:35:33 +0000 (+0300) Subject: toppanel: Wrap the TopArea into an Item X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=4e30f5424100b9bc79ba111f91e1632176b3548b;p=apps%2Fhomescreen.git toppanel: Wrap the TopArea into an Item Signed-off-by: Marius Vlad --- diff --git a/homescreen/qml/toppanel.qml b/homescreen/qml/toppanel.qml index b62a0d1..977c23b 100644 --- a/homescreen/qml/toppanel.qml +++ b/homescreen/qml/toppanel.qml @@ -3,13 +3,19 @@ import QtQuick.Window 2.13 Window { id: toppanel - width: Screen.width - height: Screen.height * (218.0 / 1920.0) + width: container.width + height: Screen.height * (210.0 / 1920.0) flags: Qt.FramelessWindowHint visible: true //color: "#aaaa0000" - TopArea { + Item { + id: container + width: Screen.width + height: Screen.height * (218.0 / 1920.0) + + TopArea { + } } Timer {