On 15 Jul 2014, at 06:31, Usman Bhatti
<usman.bhatti(a)gmail.com> wrote:
I checked it on the last moose image from the jenkins and the problem is still there.
But this is not problematic because I can tweak the canvas and morph size in Glamour
presentation. The real problem is with scaling and camera centering when canvas size is
changed. I cannot provide you a reproducible code. A complete image with all my
modifications, yes, and in that case I would like to probably do it interactively with you
so that I can be more productive when fixing these problems in Roassal/Trachel.
usman
On Mon, Jul 14, 2014 at 6:48 PM, Alexandre Bergel
<alexandre.bergel(a)me.com> wrote:
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(a)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(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch