Skip to content

Commit

Permalink
Show truncated text in a tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
Zren committed Apr 29, 2020
1 parent 748d2a1 commit b36540a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions package/contents/ui/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ Item {
}
}

PlasmaCore.ToolTipArea {
anchors.fill: parent
subText: output.text
enabled: output.truncated
}

Text {
id: output
width: parent.width
Expand Down

0 comments on commit b36540a

Please sign in to comment.