Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Aligning text in DrawLabel?

    Is there a way to align the text in a DrawLabel? I'm labeling the numeric values along an axis, and I'd like those values to be aligned to the right, such that they would look like this:

    Code:
         0
        10
       100
      1000
     10000
    100000
    I'm using:
    SmartClient Version: SC_SNAPSHOT-2012-03-20_v8.2p/Enterprise Deployment (built 2012-03-20)

    Thanks,
    Chris

    #2
    Sorry for the delay.

    At the moment, you would have to measure the text - one technique is to put such text in a Canvas and call getScrollWidth()/Height() - then place the labels appropriately.

    However we plan to implement an align property sometime soon, but sorry, no fixed ETA.

    Comment

    Working...
    X