Fix wrapping in tooltip subtexts

REVIEW: 118376
This commit is contained in:
David Edmundson 2014-05-28 15:35:51 +02:00
parent 78684c46cd
commit 8a59fe3643

View File

@ -80,7 +80,7 @@ Row {
}
PlasmaComponents.Label {
id: tooltipSubtext
width: parent.preferredTextWidth
width: Math.min(tooltipSubtext.implicitWidth, preferredTextWidth)
wrapMode: Text.WordWrap
text: toolTip ? toolTip.subText : ""
opacity: 0.5