[ 
https://issues.apache.org/jira/browse/PIVOT-910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13771746#comment-13771746
 ] 

Alessandro Pira edited comment on PIVOT-910 at 9/19/13 9:48 AM:
----------------------------------------------------------------

Still, I had to apply a patch on 2.0.3 for having multiline tooltips. It also 
appears that label's getPreferredSize does not work correctly with wrapText 
property on.
I am attaching the patch I applied.
                
      was (Author: alessandro.pira):
    Still, I had to apply a patch on 2.0.3 for having multiline tooltips. It 
also appears that label's getPreferredSize does not work correctly with 
wrapText property on.
                  
> Multiline Label (and Tooltip)
> -----------------------------
>
>                 Key: PIVOT-910
>                 URL: https://issues.apache.org/jira/browse/PIVOT-910
>             Project: Pivot
>          Issue Type: Brainstorming
>            Reporter: Alessandro Pira
>            Priority: Trivial
>         Attachments: patch-multiline-tooltip-2.0.2.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

Reply via email to