pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Whitcomb (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIVOT-889) Allow newline to do hard break in Label text when wrapping
Date Fri, 18 Jan 2013 21:16:13 GMT

     [ 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

Mime
View raw message