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:28:14 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13557623#comment-13557623 ] 

Roger Whitcomb commented on PIVOT-889:
--------------------------------------

Committed this change:
[trunk]
Sending        wtk\src\org\apache\pivot\wtk\skin\LabelSkin.java
Transmitting file data .
Committed revision 1435351.

[branches/2.0.x}
Sending        .
Sending        wtk\src\org\apache\pivot\wtk\skin\LabelSkin.java
Transmitting file data .
Committed revision 1435352.
                
> 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