fix(ActivitiCenterTolltip): Position tooltip arrow in the middle of the button
This commit is contained in:
parent
81d4ea05e9
commit
2142a6bf9c
|
@ -45,6 +45,7 @@ StatusFlatRoundButton {
|
|||
tooltip.text: qsTr("Notifications")
|
||||
tooltip.orientation: StatusToolTip.Orientation.Bottom
|
||||
tooltip.y: parent.height + 12
|
||||
tooltip.offset: -(tooltip.x + tooltip.width/2 - root.width/2) //position arrow center in root center
|
||||
|
||||
StatusBadge {
|
||||
id: statusBadge
|
||||
|
|
|
@ -59,7 +59,6 @@ StatusSectionLayout {
|
|||
}
|
||||
}
|
||||
|
||||
notificationButton.tooltip.offset: localAccountSensitiveSettings.expandUsersList && headerContent.membersButton.visible ? 0 : 14
|
||||
onNotificationButtonClicked: Global.openActivityCenterPopup()
|
||||
notificationCount: activityCenterStore.unreadNotificationsCount
|
||||
hasUnseenNotifications: activityCenterStore.hasUnseenNotifications
|
||||
|
|
Loading…
Reference in New Issue