Hi!

I did something wrong in TRMorph when worked on the checkSession.
The last version of Trachel should fix this problem

Cheers,
Alexandre

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Jul 14, 2014, at 8:31 AM, Usman Bhatti <usman.bhatti@gmail.com> wrote:

Hi,

When using Roassal 2 in a glamour browser, the visualization gets clipped when too large. This appears to occur because the canvas does not adapt to the container morph (a TRMorph) dimensions and retains its default extent.

To reproduce:
|browser|
browser := GLMTabulator new.
browser title: 'Roassal 2 Visualization'.
browser row: #visu.
browser transmit to: #visu; andShow: [:a |
a roassal2
title: 'Overview';
painting: [ :mondView :entity | view := mondView view. 
view addAll: ((RTEllipse new color: Color purple; size: 10) elementsOn: Collection withAllSubclasses) @ RTDraggable.
RTEdge buildEdgesFromObjects: Collection withAllSubclasses from: #superclass to: #yourself inView: view.
RTClusterLayout on: view elements edges: view edges.
view edges do: [ :e | e trachelShape pushBack ].
"view canvas extent: (950 @ 550)."
]].
browser openOn: 1.

Did someone notice similar behavior with spec? What would be good is that TRMorph should update the contained canvas extent when it is resized.

usman


<Screen Shot 2014-07-14 at 1.25.23 PM.png>
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev