diff options
-rw-r--r-- | src/gui/tray/Window.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index 5d87ca76e..0ac120e16 100644 --- a/src/gui/tray/Window.qml +++ b/src/gui/tray/Window.qml @@ -539,10 +539,18 @@ Window { }
ToolTip {
+ id: toolTip
visible: activityMouseArea.containsMouse
text: activityTextTitle.text + ((activityTextInfo.text !== "") ? "\n\n" + activityTextInfo.text : "")
delay: 250
timeout: 10000
+ // Can be dropped on more recent Qt, but on 5.12 it doesn't wrap...
+ contentItem: Text {
+ text: toolTip.text
+ font: toolTip.font
+ wrapMode: Text.Wrap
+ color: toolTip.palette.toolTipText
+ }
}
}
Button {
|