You probably have to reapply the layout on the new collection.

It would be cool to get an animation that can handle such an addition.

Doru


On Sun, Jun 8, 2014 at 11:28 PM, Johan Fabry <jfabry@dcc.uchile.cl> wrote:
Hola,

Say I have a layout:

elements := <a collection of elements>
layout := RTForceBasedLayout new applyOn: elements; yourself

and then later I instantiate another element newElement, how can I tell the layout to take this one into account as well? If I add it to the collection of elements, nothing happens, and if I  add it to the collection of elements contained in the layout I get the red error morph. :-(

---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--
www.tudorgirba.com

"Every thing has its own flow"