feat: Tooltip supports rich text parsing

This commit is contained in:
loner
2025-11-19 05:10:26 +08:00
parent 063ca70c57
commit 4b507fa238
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -414,7 +414,8 @@ PopupWindow {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
wrapMode: Text.WordWrap
width: root.maxWidth - (root.padding * 2)
width: Math.min(implicitWidth, root.maxWidth - (root.padding * 2))
richTextEnabled: true
}
}
}