Hi Juraj,
This is old piece of code. The stretch facility does not work currently. It would be nice
to have it working.
Cheers,
Alexandre
On Apr 11, 2013, at 6:20 PM, Juraj Kubelka <juraj.kubelka(a)gmail.com> wrote:
Hi!
I wrote a new test:
---
ROHorizontalLineLayoutTest>>testStretch
| previous |
ROHorizontalLineLayout new stretch; on: elements.
previous := nil.
elements do: [ :el |
previous notNil ifTrue: [ self assert: el position x > previous position x ].
previous := el ].
---
It is the same like ROHorizontalLineLayoutTest>>testLayout. I added #stretch on the
first command.
Should it work? It breaks in the message
ROHorizontalLineLayout>>doStretchHorizontal:, because it expect aGraph and ask for
"aGraph bounds" and others. It obtains a collection of elements. Right now I do
not understand what aGraph it should obtain.
Thanks for any advise,
Jura
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.