fix(ActivityCenter): Fix positioning AC popup

Close #8030
This commit is contained in:
MishkaRogachev 2022-11-04 17:23:33 +03:00 committed by r4bbit.eth
parent e8b9760c4f
commit 06f1f9a7aa
1 changed files with 6 additions and 2 deletions

View File

@ -992,8 +992,12 @@ Item {
id: activityCenterPopupComponent id: activityCenterPopupComponent
ActivityCenterPopup { ActivityCenterPopup {
id: activityCenter id: activityCenter
height: appView.height - 56 * 2 // TODO get screen size // Taken from old code top bar height was fixed there to 56 // TODO get screen size // Taken from old code top bar height was fixed there to 56
y: 56 property int _buttonSize: 56
x: parent.width - width - Style.current.smallPadding
y: parent.y + _buttonSize
height: appView.height - _buttonSize * 2
store: chatLayoutContainer.rootStore store: chatLayoutContainer.rootStore
activityCenterStore: appMain.activityCenterStore activityCenterStore: appMain.activityCenterStore
onClosed: { onClosed: {