SubName: TooltipWrap
Description: Wrapping text in a tooltip
Dependencies: JavaObject
Tags: B4j Wrap Text Tooltip
Description: Wrapping text in a tooltip
B4X:
Public Sub TooltipWrap(N As JavaObject,Width As Double)
Try
Dim Tooltip As JavaObject = N.RunMethod("getTooltip",Null)
Tooltip.RunMethod("setPrefWidth",Array(Width))
Tooltip.RunMethod("setWrapText",Array(True))
Catch
Log(LastException)
End Try
End Sub
Dependencies: JavaObject
Tags: B4j Wrap Text Tooltip