Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 498 by fabrizio...(a)gmail.com: the sizes of the rectangles into
built shape are the same
http://code.google.com/p/moose-technology/issues/detail?id=498
Defining a shape which contains a rectangle with a title and a children
shape it happen that the rectangle containing the title have the same size
of the children shape while i would expect that the rectangle size was
coherent with its content.
By executing the following code in Mondrian you will see the problem
| builder |
builder := MOFormsBuilder new.
builder column; fill; pref; grow.
builder row; fill; row; fill; pref; grow.
builder x: 1 y: 1 add: (MORectangleShape new text: [:table | table name];
fontSize: 10).
builder x: 1 y: 2 add: MORectangleShape new.
builder x: 1 y: 2 add: MOChildrenShape new.
view shape: builder shape.
view node: 'hello' forIt: [
view nodes: (1 to: 5).
view verticalLineLayout
]