Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P3: Somewhat important
-
Resolution: Duplicate
-
Affects Version/s: 5.15.5
-
Fix Version/s: 5.15.6, 6.2.0 Alpha
-
Component/s: Quick: Controls 2
-
Labels:
-
Platform/s:
Description
Attached the sample code. Pressing the button in the new created window will show the tooltip
Workaround is to use a standalone tooltip item and reset its contentWidth/Height according to the text size
ToolTip { visible: parent.pressed text: "Tool tip<br>width test" Text{ visible: false id:a text: "Tool tip<br>width test" } contentHeight: a.implicitHeight contentWidth: a.implicitWidth delay:500 }
Attachments
Issue Links
- duplicates
-
QTBUG-83630 Qt Quick Control 2 Tooltip can be way too big when you have newlines
-
- Open
-