On May 16, 2013, at 7:19 AM, Tudor Girba tudor@tudorgirba.com wrote:
Hi,
Different layouts have different needs. Some want to expand the space, like in the example below, some want to be limited by the space, like in the example of a FillInFlowLayout (available in Mondrian).
The decision of what to do with the constraints should lie with the layout, but in general, the layout should have the freedom of choosing. Thus, the layout should have access by default to all view information.
yes this is my point
Cheers, Doru
On May 15, 2013, at 11:13 PM, Alexandre Bergel alexandre.bergel@me.com wrote:
the problem is
- I'm not sure that having infinity is useful. do you have real scenario where you need that.
- the layout should know the extent where it can lay down nodes.
This is the current behavior in for the horizontalLineLayout. If you do
view nodes: (1 to: 1000). view horizontalLineLayout.
then you have a very long line of nodes. The layout considers the space infinite.
When I mentioned infinite areas, I had in mind the grid layout. You can do:
view nodes: (1 to: 10000). view gridLayout.
The roassal window is not large enough to show all the nodes. So, where do you want to scroll? Vertically or horizontally? Where the layout has room to expand the area with the nodes. This is what I meant with infinite area
Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"No matter how many recipes we know, we still value a chef."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev