Closed retsyo closed 4 years ago
Try add this line:
btn1.tooltip = "button1\r\nbutton2"
btn1.setToolTip(maxWidth=150)
Reference: https://docs.microsoft.com/en-us/windows/win32/controls/implement-multiline-tooltips
thanks
tips, the maxWidth can be 0, so it is not necessary to measure a accurate width
I have tried
\n
,\r
, '\r\nand
\n\r`, but none gives a multiline tooltip