[squeak-dev] Morph layoutPolicy & layoutProperties

Bob Arning arning315 at comcast.net
Wed Oct 23 00:31:29 UTC 2013


As it should be. Centering/resizing/etc are inside TableLayoutProperties.

Cheers,
Bob

On 10/22/13 8:19 PM, tim Rowledge wrote:
> 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
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20131022/7efb14fd/attachment.htm


More information about the Squeak-dev mailing list