Hi Martin,

A roassal view has a camera attached to it. Moving the camera may actually what you need. Consider this example:

| builder |
builder := ROMondrianViewBuilder new.
builder nodes: Collection withAllSubclasses.
builder edgesFrom: #superclass.
builder treeLayout.
builder open.

builder raw camera bounds: (0 @ 0 extent: 700 @ 700).

To play with it, you can open an inspector on the view (i.e., builder raw inspect) as illustrated in the screenshot:

Let us know if this fits your need or not.


On Oct 21, 2013, at 5:34 PM, MartinW <wm@fastmail.fm> wrote:


i use Roassal graphs in Glamour panes, and i wonder if there is a way to
zoom and center the Roassal graph so that it fits entirely into its Glamour
pane. Can this be done?

Best regards,

View this message in context: http://forum.world.st/Zoom-to-fit-pane-for-Roassal-tp4716227.html
Sent from the Moose mailing list archive at Nabble.com.
Moose-dev mailing list

Alexandre Bergel  http://www.bergel.eu