From 8fb5e7cbe6ee5ae43e0c5955a8fbcb704cf0db8f Mon Sep 17 00:00:00 2001 From: Damocles Date: Mon, 13 Apr 2026 15:18:26 +0200 Subject: [PATCH] tooltips: live-update text while hovered --- modules/BarIcon.qml | 3 +++ modules/BarLabel.qml | 3 +++ modules/BarSection.qml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/modules/BarIcon.qml b/modules/BarIcon.qml index 43b624b..24a01ce 100644 --- a/modules/BarIcon.qml +++ b/modules/BarIcon.qml @@ -76,4 +76,7 @@ Text { } } } + + onTooltipChanged: if (_hovered && tooltip !== "") + M.FlyoutState.text = tooltip } diff --git a/modules/BarLabel.qml b/modules/BarLabel.qml index f5f2cc3..1c30699 100644 --- a/modules/BarLabel.qml +++ b/modules/BarLabel.qml @@ -47,4 +47,7 @@ Text { } } } + + onTooltipChanged: if (_hovered && tooltip !== "") + M.FlyoutState.text = tooltip } diff --git a/modules/BarSection.qml b/modules/BarSection.qml index 3384bb6..a2b0039 100644 --- a/modules/BarSection.qml +++ b/modules/BarSection.qml @@ -37,4 +37,7 @@ Row { } } } + + onTooltipChanged: if (_hovered && tooltip !== "") + M.FlyoutState.text = tooltip }