Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the sizes of the rectangles into built shape are the same #498

Closed
seandenigris opened this issue Aug 3, 2015 · 3 comments
Closed

the sizes of the rectangles into built shape are the same #498

seandenigris opened this issue Aug 3, 2015 · 3 comments

Comments

@seandenigris
Copy link
Contributor

Originally reported on Google Code with 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
]

Reported by fabrizio.perin on 2011-01-19 20:26:49

@seandenigris
Copy link
Contributor Author

Reported by fabrizio.perin on 2011-01-19 21:26:36

  • Labels added: Component-Mondrian

@seandenigris
Copy link
Contributor Author

Thanks for capturing this. The FormsBuilder is important and it would be cool to get
it right :) 

Reported by tudor.girba on 2011-01-20 07:40:11

@seandenigris
Copy link
Contributor Author

Great progress.

Reported by tudor.girba on 2011-04-06 20:33:32

  • Status changed: Fixed
  • Labels added: Milestone-4.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant