From 4e30f5424100b9bc79ba111f91e1632176b3548b Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Sat, 18 Jul 2020 01:35:33 +0300 Subject: [PATCH] toppanel: Wrap the TopArea into an Item Signed-off-by: Marius Vlad --- homescreen/qml/toppanel.qml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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 { -- 2.16.6