diff --git a/src/Qt5/imports/FluentUI/Controls/FluNavigationView.qml b/src/Qt5/imports/FluentUI/Controls/FluNavigationView.qml index 6b9264be..4b0d9ec3 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluNavigationView.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluNavigationView.qml @@ -176,6 +176,11 @@ Item { leftMargin: 6 rightMargin: 6 } + FluTooltip { + text: model.title + visible: item_control.hovered && model.title && d.isCompact + delay: 400 + } MouseArea{ anchors.fill: parent acceptedButtons: Qt.RightButton @@ -455,6 +460,11 @@ Item { leftMargin: 6 rightMargin: 6 } + FluTooltip { + text: model.title + visible: item_control.hovered && model.title && d.isCompact + delay: 400 + } onClicked:{ if(type === 0){ if(model.onTapListener){ diff --git a/src/Qt6/imports/FluentUI/Controls/FluNavigationView.qml b/src/Qt6/imports/FluentUI/Controls/FluNavigationView.qml index d6af70a1..ded7781b 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluNavigationView.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluNavigationView.qml @@ -177,6 +177,11 @@ Item { leftMargin: 6 rightMargin: 6 } + FluTooltip { + text: model.title + visible: item_control.hovered && model.title && d.isCompact + delay: 400 + } MouseArea{ anchors.fill: parent acceptedButtons: Qt.RightButton @@ -458,6 +463,11 @@ Item { leftMargin: 6 rightMargin: 6 } + FluTooltip { + text: model.title + visible: item_control.hovered && model.title && d.isCompact + delay: 400 + } onClicked:{ if(type === 0){ if(model.onTapListener){