New multiline text Tooltip constructor
--------------------------------------
Key: PIVOT-565
URL: https://issues.apache.org/jira/browse/PIVOT-565
Project: Pivot
Issue Type: Improvement
Components: wtk
Reporter: André Thieme
Fix For: 2.0
Please add a third org.apache.pivot.wtk.Tooltip constructor that takes a string.
This would then construct a tooltip that can potentially display multiline text.
This solution offers greater compatibility and less breakage to earlier versions
of Pivot, and at the same time probably covers 99% of all Tooltip usage.
new Tooltip("This\nis\na\nmultiline\nTooltip\ntext");
Also the setTooltipText of the Component class could use a TextArea under the
hood by default, allowing for
myButton.setTooltipText("Multiline\nTooltip\ntext");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.