On May 15, 2013, at 11:13 PM, Alexandre Bergel <alexandre.bergel(a)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
Ok this is just large.
I thought that the use of the camera was just to make sure that you can have large area
(different from the physical canvas size).
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev