[General] Morph Properties and Persistence
robert.krahn at student.hpi.uni-potsdam.de
Tue Mar 3 18:56:49 CET 2009
can you give an example?
Deserialization should work for common values (but not for all
objects). In http://livelykernel.sunlabs.com/repository/lively-wiki/testworld3.xhtml
I assigned values to the red rectangle (testValue, testValue2).
On Mar 3, 2009, at 12:26 AM, Philip Weaver wrote:
> I assigned a value to a custom property on a Morph. After I save the
> world to the wiki and load again, that property does not exist. The
> case here is that I wrote a new layout manager, have been attaching
> constraints to morphs, when I reload the constraints are gone, and
> subsequently child morphs do not resize when I resize the morph.
> How do I persist the custom properties of a Morph?
> Much appreciated,
> General mailing list
> General at livelykernel.sunlabs.com
More information about the lively-kernel