From afa380555f2196f4c9df613796aa288fa5f2c0a9 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Wed, 11 Nov 2020 14:23:50 +0100 Subject: [PATCH] Fix tooltips on actionbuttons --- resources/qml/ToolTip.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/qml/ToolTip.qml b/resources/qml/ToolTip.qml index ad58038d01..b8873439f1 100644 --- a/resources/qml/ToolTip.qml +++ b/resources/qml/ToolTip.qml @@ -34,6 +34,9 @@ ToolTip NumberAnimation { duration: 100; } } + onAboutToShow: show() + onAboutToHide: hide() + // If the text is not set, just set the height to 0 to prevent it from showing height: text != "" ? label.contentHeight + 2 * UM.Theme.getSize("thin_margin").width: 0