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.Cheers,AlexandreOn Oct 21, 2013, at 5:34 PM, MartinW <wm@fastmail.fm> wrote:Hi,
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,
Martin.
--
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
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev