Status: New Owner: ---- CC: alexandr...@gmail.com Labels: Type-Defect Priority-Medium Component-Mondrian Milestone-4.4
New issue 577 by tudor.gi...@gmail.com: ChildrenShape does not get centered http://code.google.com/p/moose-technology/issues/detail?id=577
I am trying to align a ChildrenShape to the center of a column, but it does not work.
On the other hand, a simple rectangle looks like it works fine. In the below example, both the top row and the bottom one should be centered:
view shape form: [:builder | builder column; pref; center; fill; row; fill; row; fill. builder x:1 y:1 add: (MORectangleShape new text: #asString). builder x:1 y:2 add: (MORectangleShape new). builder x:1 y:2 add: (MOChildrenShape new) ]. view nodes: #('label longer than the children' 'smal') forEach: [ :each | view nodes: #(1 2 3 4) ].