[squeak-dev] Morph layoutPolicy & layoutProperties

tim Rowledge tim at rowledge.org
Wed Oct 23 00:19:39 UTC 2013


I can't quite work out if I'm building a morph correctly; I have files with old-style subclasses of AlignmentMorph that need to be read into a modern image where AlignmentMorph lacks the iVars. The 'spurious' iVar fields are being dumped into the properties mechanism at load time.

What's got me confused right now is that later on when I explore the loaded morphs I see
- no spurious objects (ie centering/hResizing etc)
- the morphextension 'otherProperties' has 
-- layoutPolicy, which has an iVar 'properties' that is a TableLayoutProperties
-- layoutProperties, which is the same TableLayoutProperties

Seems a bit strange. Is that how it should be?

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Oxymorons: Military Intelligence




More information about the Squeak-dev mailing list