From 63e2c21b330b6ec9989e9619b501589c1c5aca7e Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Wed, 17 Feb 2021 13:29:56 -0500 Subject: [PATCH] feat: show tooltip on top of community button with name --- .../AppLayouts/Chat/CommunityComponents/CommunityButton.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui/app/AppLayouts/Chat/CommunityComponents/CommunityButton.qml b/ui/app/AppLayouts/Chat/CommunityComponents/CommunityButton.qml index 95d46e5a17..569b6009ac 100644 --- a/ui/app/AppLayouts/Chat/CommunityComponents/CommunityButton.qml +++ b/ui/app/AppLayouts/Chat/CommunityComponents/CommunityButton.qml @@ -28,6 +28,12 @@ StatusIconTabButton { chatsModel.communities.setActiveCommunity(communityId) } + StatusToolTip { + visible: communityButton.hovered + text: communityButton.name + delay: 50 + } + Rectangle { id: chatBadge visible: unviewedMessagesCount > 0