fix(StatusToolTip): remove contentItem by id usage

Otherwise contentItem can't be safely overriden by the clients
This commit is contained in:
Patryk Osmaczko
2022-08-10 14:43:28 +02:00
committed by osmaczko
parent 151097e466
commit 91cafca41f
+1 -2
View File
@@ -18,7 +18,7 @@ ToolTip {
property int offset: 0
property alias arrow: arrow
implicitWidth: Math.min(maxWidth, textContent.implicitWidth + 16)
implicitWidth: Math.min(maxWidth, contentItem.implicitWidth + 16)
leftPadding: 8
rightPadding: 8
topPadding: 8
@@ -65,7 +65,6 @@ ToolTip {
}
}
contentItem: StatusBaseText {
id: textContent
text: statusToolTip.text
color: Theme.palette.white
wrapMode: Text.WordWrap