Updates: Status: Started Labels: -Priority-Medium Priority-High Component-Roassal
Comment #3 on issue 839 by alexandr...@gmail.com: ROCenteredLabel http://code.google.com/p/moose-technology/issues/detail?id=839
Thanks Ben! This is an excellent contribution!
I've improved the label implementation. ROLabel is now a subclass of ROAbstractLabel. ROCenteredLabel is a subclass of ROAbstractLabel instead of ROLabel. I also refactored the tests. The Mondrian builder offers #withCenteredText and #withCenteredText: An example in Mondrian/Basic has been added.
-=-=-=-=-=-=-=-=-=-=-=-= view shape rectangle; withCenteredText; width: 180. view node: 'centered text'.
view shape rectangle; withText; width: 180. view node: 'left text'. -=-=-=-=-=-=-=-=-=-=-=-=
Excellent piece of work!