From 8a59fe36435b568b1d8b88fb32e809534c402ea6 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Wed, 28 May 2014 15:35:51 +0200 Subject: [PATCH] Fix wrapping in tooltip subtexts REVIEW: 118376 --- src/declarativeimports/core/private/DefaultToolTip.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarativeimports/core/private/DefaultToolTip.qml b/src/declarativeimports/core/private/DefaultToolTip.qml index e4c11d56f..1e299c344 100644 --- a/src/declarativeimports/core/private/DefaultToolTip.qml +++ b/src/declarativeimports/core/private/DefaultToolTip.qml @@ -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