Closed seandenigris closed 9 years ago
I just noticed the fileout didn't include the class definition. Probably obvious but
for completeness...
ROLabel subclass: #ROCenteredLabel
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'Roassal-Core'
Reported by benjamin.t.coman
on 2012-09-17 14:20:43
whoops - remove redundant 'oldOffset' tempVar
Reported by benjamin.t.coman
on 2012-09-17 14:28:18
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!
Reported by alexandre.bergel
on 2012-09-20 15:13:05
Started
In Roassal 1.125
Reported by alexandre.bergel
on 2012-09-20 15:15:04
Fixed
Reported by tudor@tudorgirba.com
on 2013-03-03 13:03:28
Originally reported on Google Code with ID 839
Reported by
benjamin.t.coman
on 2012-09-17 14:17:09