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/01/18 22:16:13 UTC

[jira] [Updated] (PIVOT-889) Allow newline to do hard break in Label text when wrapping

     [ https://issues.apache.org/jira/browse/PIVOT-889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Whitcomb updated PIVOT-889:
---------------------------------

    Attachment: label.patch

Attached "label.patch" is my proposed solution to this.  Tested it in our application and everything appears to work well.
                
> Allow newline to do hard break in Label text when wrapping
> ----------------------------------------------------------
>
>                 Key: PIVOT-889
>                 URL: https://issues.apache.org/jira/browse/PIVOT-889
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>    Affects Versions: 2.0.2
>         Environment: All
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>              Labels: label
>             Fix For: 2.0.3
>
>         Attachments: label.patch
>
>
> In a Label with "wrapText" set true, it would be good for newline characters to do a hard line break.
> I considered adding a new style to the LabelSkin for this, but I think it should be fine (even for backward compatibility) to just do it (if "wrapText" is set to true).

--
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