[ https://issues.apache.org/jira/browse/PIVOT-910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13781804#comment-13781804 ]
Sandro Martini commented on PIVOT-910: -------------------------------------- Hi, just committed (currently only in 2.0.x branch) the final part of the fix, adding a new property (tooltipWrapText) because I can't reuse wrapText (which is for the external component where the Tooltip is linked). Updated even the test app, so you can see both the default case and with a value for that flag. If no objections, I'll mark this as resolved in a few days, and then merge to trunk. > Multiline Label (and Tooltip) > ----------------------------- > > Key: PIVOT-910 > URL: https://issues.apache.org/jira/browse/PIVOT-910 > Project: Pivot > Issue Type: Improvement > Reporter: Alessandro Pira > Assignee: Sandro Martini > Priority: Minor > Fix For: 2.0.4 > > Attachments: Broken labels in ComponentExplorer etc.jpg, > 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 was sent by Atlassian JIRA (v6.1#6144)