From 06f1f9a7aa40302498bc2e13189b7c01648ada33 Mon Sep 17 00:00:00 2001 From: MishkaRogachev Date: Fri, 4 Nov 2022 17:23:33 +0300 Subject: [PATCH] fix(ActivityCenter): Fix positioning AC popup Close #8030 --- ui/app/mainui/AppMain.qml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/app/mainui/AppMain.qml b/ui/app/mainui/AppMain.qml index 47b118d3c0..52f7f55472 100644 --- a/ui/app/mainui/AppMain.qml +++ b/ui/app/mainui/AppMain.qml @@ -992,8 +992,12 @@ Item { id: activityCenterPopupComponent ActivityCenterPopup { id: activityCenter - height: appView.height - 56 * 2 // TODO get screen size // Taken from old code top bar height was fixed there to 56 - y: 56 + // TODO get screen size // Taken from old code top bar height was fixed there to 56 + property int _buttonSize: 56 + + x: parent.width - width - Style.current.smallPadding + y: parent.y + _buttonSize + height: appView.height - _buttonSize * 2 store: chatLayoutContainer.rootStore activityCenterStore: appMain.activityCenterStore onClosed: {