Comment #4 on issue 576 by alexandr...(a)gmail.com: Border of children
depends on another shape in a complex shape
http://code.google.com/p/moose-technology/issues/detail?id=576
Ok, I understand. Sorry, your mail was clear at the first shoot.
Apparently, this is due to displaying the text. For example, the following
works as expected:
-=-=-=-=-=-=-=-=-=-=-=-=
view shape form: [:builder |
builder column; pref; fill; row; pref; fill; row; pref; fill.
builder x:1 y:1 add: (MORectangleShape new fillColor: Color green).
builder x:1 y:2 add: MOChildrenShape new.
].
view node: 1 forIt: [
view shape rectangle fillColor: Color red; borderColor: Color blue;
borderWidth: 10; size: 90.
view node: 100].
-=-=-=-=-=-=-=-=-=-=-=-=
But the following does not work:
-=-=-=-=-=-=-=-=-=-=-=-=
view shape form: [:builder |
builder column; pref; fill; row; pref; fill; row; pref; fill.
builder x:1 y:1 add: (MORectangleShape new fillColor: Color green;
withText).
builder x:1 y:2 add: MOChildrenShape new.
].
view node: 1 forIt: [
view shape rectangle fillColor: Color red; borderColor: Color blue;
borderWidth: 10; size: 90.
view node: 100].
-=-=-=-=-=-=-=-=-=-=-=-=
Working on it...