diff --git a/ui/StatusQ/src/StatusQ/Components/StatusChatToolBar.qml b/ui/StatusQ/src/StatusQ/Components/StatusChatToolBar.qml index 0e32f42677..93b243e9b3 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusChatToolBar.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusChatToolBar.qml @@ -12,6 +12,8 @@ Rectangle { color: Theme.palette.statusAppLayout.backgroundColor property alias chatInfoButton: statusChatInfoButton + property alias menuButton: menuButton + property alias notificationButton: notificationButton property int notificationCount: 0 property Component popupMenu @@ -35,6 +37,7 @@ Rectangle { } Row { + id: actionButtons anchors.right: parent.right anchors.rightMargin: 8 anchors.verticalCenter: parent.verticalCenter @@ -52,7 +55,7 @@ Rectangle { onClicked: { statusChatToolBar.menuButtonClicked() highlighted = true - popupMenuSlot.item.popup() + popupMenuSlot.item.popup(actionButtons.x + menuButton.width - popupMenuSlot.item.width, menuButton.height + 4) } }