Issue 498 in moose-technology: the sizes of the rectangles into built shape are the same

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 498 in moose-technology: the sizes of the rectangles into built shape are the same

moose-technology
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 498 by [hidden email]: 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
]


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 498 in moose-technology: the sizes of the rectangles into built shape are the same

moose-technology
Updates:
        Owner: fabrizio.perin
        Cc: alexandre.bergel
        Labels: Component-Mondrian

Comment #1 on issue 498 by [hidden email]: 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.)

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 498 in moose-technology: the sizes of the rectangles into built shape are the same

moose-technology

Comment #2 on issue 498 by [hidden email]: 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 :)

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 498 in moose-technology: the sizes of the rectangles into built shape are the same

moose-technology
Updates:
        Status: Fixed
        Labels: Milestone-4.4

Comment #3 on issue 498 by [hidden email]: the sizes of the  
rectangles into built shape are the same
http://code.google.com/p/moose-technology/issues/detail?id=498

Great progress.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev