Hi,
I tried to make a script for Mondrian and I made a writing error.
I put a bloc on borderColor: without the bloc parameter.
The reaction of Mondrian is strange: Rectangle becomes red.....
When I remove the bloc or I put the bloc parameter (as: [:e | Color gray]), it works
fine.
Here is the small script to test:
=============
|view o o2|
view := MOViewRenderer new.
o := OrderedCollection new: 1000.
o2 := #(1 2 3 4 5 6 7 8 9 10).
1 to: 100 do:[:i | o add: i].
(view shape: (MORectangleShape new
width: 200;
height: 200;
withBorder;
borderColor: [Color gray])).
view nodes: o.
view layout: (MOGridLayout new gapSize: 1).
view open
=============
Cheers
---
Jannik Laval