Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 498 by fabrizio...@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 ]
Updates: Owner: fabrizio.perin Cc: alexandre.bergel Labels: Component-Mondrian
Comment #1 on issue 498 by fabrizio...@gmail.com: the sizes of the rectangles into built shape are the same http://code.google.com/p/moose-technology/issues/detail?id=498
(No comment was entered for this change.)
Comment #2 on issue 498 by tudor.gi...@gmail.com: the sizes of the rectangles into built shape are the same http://code.google.com/p/moose-technology/issues/detail?id=498
Thanks for capturing this. The FormsBuilder is important and it would be cool to get it right :)
Updates: Status: Fixed Labels: Milestone-4.4
Comment #3 on issue 498 by tudor.gi...@gmail.com: the sizes of the rectangles into built shape are the same http://code.google.com/p/moose-technology/issues/detail?id=498
Great progress.