You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2013/07/04 17:09:49 UTC

[jira] [Commented] (PIVOT-910) Multiline Label (and Tooltip)

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

Roger Whitcomb commented on PIVOT-910:
--------------------------------------

Hi Alessandro,
   I you take the latest 2.0.3 code (not quite released, but stable), it already has this capability ('\n' will split lines in Labels, and therefore in tooltips).  We hope to release 2.0.3 *soon*, but you can find a pre-release version here:  http://people.apache.org/~smartini/pivot-2.0.3_release/
                
> 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
>
>
> 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