You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/07/09 15:15:49 UTC
[jira] Resolved: (PIVOT-565) New multiline text Tooltip constructor
[ https://issues.apache.org/jira/browse/PIVOT-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Brown resolved PIVOT-565.
------------------------------
Resolution: Duplicate
This issue has already been resolved. See PIVOT-394. If you want wrapping text in a tooltip, you can simply use a TextArea as the tooltip's content.
> 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.