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

Roger Whitcomb commented on PIVOT-1017:
---------------------------------------

More enhancements to the RulerSkin:
* Add "majorDivision" and "minorDivision" styles (default to 4 and 2 
respectively) at which intervals to draw the major and minor markers.
* Allow either of these to be 0, which is to not make the distinction.
* Make the minor markers a bit longer so they are bit easier to distinguish.
* Add some Javadoc that was previously missing for some of the styles.
* Correct the Javadoc in a couple of places in GraphicsUtilities.

Sending        wtk\src\org\apache\pivot\wtk\GraphicsUtilities.java
Sending        wtk\src\org\apache\pivot\wtk\skin\RulerSkin.java
Transmitting file data ..done
Committing transaction...
Committed revision 1818219.

> Move the tutorial "Ruler" class into the mainline code for use by others
> ------------------------------------------------------------------------
>
>                 Key: PIVOT-1017
>                 URL: https://issues.apache.org/jira/browse/PIVOT-1017
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>         Environment: All
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>             Fix For: 2.1
>
>
> The "Ruler" class (and associated Skin and Listener classes) already exists 
> in two places in the tutorials branch, so it should go into the main "wtk" 
> code so it can be used by others who might find it useful.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to