moosetechnology / Moose

MOOSE - Platform for software and data analysis.
https://moosetechnology.github.io/moose-wiki
MIT License
136 stars 34 forks source link

Roassal line layout does not work when stretched #897

Closed seandenigris closed 9 years ago

seandenigris commented 9 years ago

Originally reported on Google Code with ID 897

Try this:
view nodes: #(1 2 3) .
view horizontalLineLayout stretch

We need this to work for the class blueprint

Reported by tudor@tudorgirba.com on 2012-12-12 00:13:44

seandenigris commented 9 years ago
The problem is that the layout was just copied from Mondrian, but the input is no longer
the parent graph, but only a list of elements. This is a bit problematic.

Reported by tudor@tudorgirba.com on 2012-12-12 00:23:26

seandenigris commented 9 years ago

Reported by tudor@tudorgirba.com on 2013-01-29 06:45:23

seandenigris commented 9 years ago
I will have time to work on this in March. Until this month I have ecoop reviews, and
february is holidays in Chile

Reported by alexandre.bergel on 2013-01-29 10:55:30

seandenigris commented 9 years ago
This does not throw an error anymore, but it does not seem to be working either.

Try this:
view shape rectangle height: 300.
view node: #a forIt: [ view nodes: #(1 2 3) ].
view horizontalLineLayout stretch

Reported by tudor@tudorgirba.com on 2013-06-03 05:33:49

seandenigris commented 9 years ago
I guess this won't make it for 4.8

Reported by tudor@tudorgirba.com on 2013-06-30 11:17:12

seandenigris commented 9 years ago
Thanks for raising this point again. We are working on it.

Reported by alexandre.bergel on 2013-06-30 16:33:13

seandenigris commented 9 years ago
I think it works. The reported example is wrong. It should be like this:

view shape rectangle height: 300.
view node: #a forIt: [ 
    view nodes: #(1 2 3).
    view horizontalLineLayout stretch.
].

Or even better:

view extensibleSizeWithPaddingGap: 0.
view shape rectangle height: 300.
view node: #a forIt: [ 
    view nodes: #(1 2 3).
    view horizontalLineLayout stretch gapSize: 0.
].

Reported by Juraj.Kubelka on 2013-06-30 21:26:46

seandenigris commented 9 years ago
Thanks!

Reported by tudor@tudorgirba.com on 2013-07-01 05:14:10