From aa0e9fff151a80d7bfa483e4c6237d07b9036946 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sun, 13 Aug 2023 20:11:55 +0200 Subject: [PATCH] Improve tooltips in chatbar (cherry picked from commit 4ea183b139e27dbc0ec642c729d4c4c563adb676) --- src/qml/Component/ChatBox/ChatBar.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/qml/Component/ChatBox/ChatBar.qml b/src/qml/Component/ChatBox/ChatBar.qml index 9dc0f30b1..6c8a887d4 100644 --- a/src/qml/Component/ChatBox/ChatBar.qml +++ b/src/qml/Component/ChatBox/ChatBar.qml @@ -97,6 +97,7 @@ QQC2.Control { emojiDialog.open() } } + tooltip: text }, Kirigami.Action { id: mapButton @@ -108,6 +109,7 @@ QQC2.Control { onTriggered: { locationChooserComponent.createObject(QQC2.ApplicationWindow.overlay, {room: currentRoom}).open() } + tooltip: text }, Kirigami.Action { id: sendAction @@ -382,6 +384,7 @@ QQC2.Control { QQC2.ToolTip.visible: modelData.tooltip !== "" && hoverHandler.hovered QQC2.ToolTip.text: modelData.tooltip + QQC2.ToolTip.delay: Kirigami.Units.toolTipDelay HoverHandler { id: hoverHandler } PieProgressBar {