diff --git a/qml/IconItemDelegate.qml b/qml/IconItemDelegate.qml index 45128dc8..7792029e 100644 --- a/qml/IconItemDelegate.qml +++ b/qml/IconItemDelegate.qml @@ -164,7 +164,7 @@ Control { } ToolTip.text: root.text ToolTip.delay: 1000 - ToolTip.visible: hovered + ToolTip.visible: hovered && iconItemLabel.truncated background: ButtonPanel { button: parent outsideBorderColor: null diff --git a/qml/windowed/IconItemDelegate.qml b/qml/windowed/IconItemDelegate.qml index 2a498750..ab9f8078 100644 --- a/qml/windowed/IconItemDelegate.qml +++ b/qml/windowed/IconItemDelegate.qml @@ -69,7 +69,7 @@ Control { } ToolTip.text: root.text ToolTip.delay: 1000 - ToolTip.visible: hovered + ToolTip.visible: hovered && iconItemLabel.truncated background: ItemBackground { radius: 8 button: iconButton