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

Noel Grandin commented on PIVOT-317:
------------------------------------

Hmmm, so we have a problem space like this:

(1) we want vertical text - reasonably easy, because it's still rectangular, 
can be made to work with wrapText==true

(2) we want diagonal text - easy for the single line case, challenging for the 
wrapText==true case.

Maybe we can split the problem space by having 2 label classes - a 
single-line-only class and a multi-line-capable class.

The single-line-only version can support arbitrary rotation, while the 
multi-line-capable version only supports horizontal and vertical orientation.

Do you see a use-case for a rotated, multi-line label that would warrant the 
complexity of implementing it all in a single class?


> Add rotation style to LabelSkin
> -------------------------------
>
>                 Key: PIVOT-317
>                 URL: https://issues.apache.org/jira/browse/PIVOT-317
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk
>            Reporter: Todd Volkert
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: label-rotation.png, review tab 3.JPG
>
>
> Add a rotation:double style to LabelSkin, causing the label to be rotated by 
> the specified angle in radians, and affecting preferred size.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to