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

Alessandro Pira commented on PIVOT-910:
---------------------------------------

It turns out that my last patch contained a bug... if 
LabelSkin.getPreferredHeight/Size returns a too small value (may happen if text 
is empty) ListViews are unreadable.
I've added an attach with the updated patch.
Sorry for that.
                
> 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

Reply via email to