[ https://issues.apache.org/jira/browse/PIVOT-910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13778928#comment-13778928 ]
Sandro Martini commented on PIVOT-910: -------------------------------------- patch applied in 2.0.x, and add a minimal test application. Later I'll merge even in trunk. We only have to look how to handle the wrapText flag in the tooltip (temporarily set to true now, just to see this working) ... but could be a good default for Tooltips. What do you think ? > Multiline Label (and Tooltip) > ----------------------------- > > Key: PIVOT-910 > URL: https://issues.apache.org/jira/browse/PIVOT-910 > Project: Pivot > Issue Type: Brainstorming > Reporter: Alessandro Pira > Assignee: Sandro Martini > Priority: Trivial > Fix For: 2.0.4, 2.1 > > Attachments: patch-multiline-tooltip-2.0.2.diff, > patch-multiline-tooltip-2.0.3.diff, patch-multiline-tooltip-2.0.3.diff > > > In our project we needed multiline tooltips (splittable by '\n' characters), > so I patched our pivot version (which is 2.0.2) to make the Label multiline. > I know we could have used TextArea instead, but this way is easier for us for > many reasons. > I am just sending you my patch in case you'll find this useful somehow (maybe > a property can be added on the LabelSkin -like wrapText- for this). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira