I need to show tool tip text in multiple lines, but setTitle()
method in gwt is simply ignoring the \n
character?
Is this possible to achieve?
If you are using the title property then it is not possible to have multi line tooltip. This is not a GWT problem, but a browser tooltip implementation/handling issue. If you really need to have a multi line tooltip then use Popup panel or DecoratedPopupPanel.
This will involve a little extra coding than just making a call to setTitle, but as a benefit you get complete control over how the tooltip is presented.
setTitle
worked for me if I included a \n
as a line separator.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With