Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions qml/IconItemDelegate.qml
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,14 @@ Control {
}
}
}
HoverHandler {
id: toolTipHoverHandler
}
ToolTip.text: root.text
ToolTip.delay: 500
ToolTip.visible: hovered && iconItemLabel.truncated
ToolTip.toolTip.x: toolTipHoverHandler.point.position.x
ToolTip.toolTip.y: toolTipHoverHandler.point.position.y
background: ItemBackground {
radius: isWindowedMode ? 8 : 18
button: parent
Expand Down
2 changes: 2 additions & 0 deletions qml/windowed/AppListView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ FocusScope {
ToolTip.text: text
ToolTip.delay: 500
ToolTip.visible: hovered && contentItem.implicitWidth > contentItem.width
ToolTip.toolTip.x: itemHoverHandler.point.position.x
ToolTip.toolTip.y: itemHoverHandler.point.position.y

Drag.dragType: Drag.Automatic
Drag.active: mouseArea.drag.active
Expand Down
2 changes: 2 additions & 0 deletions qml/windowed/FreeSortListView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,8 @@ Item {
ToolTip.text: text
ToolTip.delay: 500
ToolTip.visible: hovered && contentItem.implicitWidth > contentItem.width
ToolTip.toolTip.x: itemHoverHandler.point.position.x
ToolTip.toolTip.y: itemHoverHandler.point.position.y

Drag.hotSpot.x: width / 3
Drag.hotSpot.y: height / 2
Expand Down
5 changes: 5 additions & 0 deletions qml/windowed/IconItemDelegate.qml
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,14 @@ Control {
font: DTK.fontManager.t9
}
}
HoverHandler {
id: toolTipHoverHandler
}
ToolTip.text: root.text
ToolTip.delay: 500
ToolTip.visible: hovered && iconItemLabel.truncated
ToolTip.toolTip.x: toolTipHoverHandler.point.position.x
ToolTip.toolTip.y: toolTipHoverHandler.point.position.y
background: ItemBackground {
radius: 8
button: iconButton
Expand Down
Loading