mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 05:55:59 +03:00
Force tooltip wrap mode because it's not enabled in Qt 5.12...
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
This commit is contained in:
parent
16b709edbc
commit
78b03739a7
1 changed files with 8 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue