[
https://issues.apache.org/jira/browse/PIVOT-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Greg Brown updated PIVOT-565:
-----------------------------
Summary: Use TextArea in default tooltip rather than Label (was: New
multiline text Tooltip constructor)
Priority: Minor (was: Major)
Description:
This would allow callers to more easily specify tooltips that contain line
breaks.
was:
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");
Renaming issue to more accurately reflect intent and possible solution.
> Use TextArea in default tooltip rather than Label
> -------------------------------------------------
>
> Key: PIVOT-565
> URL: https://issues.apache.org/jira/browse/PIVOT-565
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Reporter: André Thieme
> Priority: Minor
> Fix For: 2.0
>
>
> This would allow callers to more easily specify tooltips that contain line
> breaks.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.