Morphic layout policy problems

Bob.Cowdery at CGI-Europe.com Bob.Cowdery at CGI-Europe.com
Mon May 29 21:31:41 UTC 2006



Bob.Cowdery at CGI-Europe.com skrev:
> Hi all
>
> I have a problem with morphic layout policies and I'm not sure if it's a
> feature, limitation or a bug or if there is something else I need to do.
> This can be reproduced very quickly using two AlignmentMorphs (Bordered or
> PasteUp will also do) and 4 SimpleButtonMorphs. Set AlignmentMorph 1 with
> left to right wrapping. Embed the buttons in AlignmentMorph 1. Adjusting
the
> size of AlignmentMorph 1 causes the buttons to flow properly between
> horizontal and vertical alignment. Now size AlignmentMorph 1 until the
> buttons are in a vertical row and size AlignmentMorph 2 to be about the
same
> size and embed AlignmentMorph1 in 2. Now sizing AlignmentMorph2 will flow
> the buttons progressively outwards until they are in a horizontal row but
> you can't flow them back in again.
>
> As usual any help appreciated.
>> Morphic Layout is a replacement for the AlignmentMorph.
>> So my advise is that if you use either AlignmentMorph or Morphic Layout 
>> but not
>> together.
>> Karl

Karl

Thanks for the hint. There was a little mixing going on but basically
everything morph wise I use is derived from my base morph which was derived
from AlignmentMorph. I have tried changing that to BorderedMorph and quite a
lot of behavior is different and possibly a little better but essentially
what I said above is still the case. I can't get inner morphs to flow back
once they have flowed out.

Bob 




*** Confidentiality Notice *** Proprietary/Confidential
Information belonging to CGI Group Inc. and its affiliates
may be contained in this message. If you are not a recipient
indicated or intended in this message (or responsible for
delivery of this message to such person), or you think for
any reason that this message may have been addressed to you
in error, you may not use or copy or deliver this message
to anyone else.  In such case, you should destroy this
message and are asked to notify the sender by reply email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060529/e709e9ec/attachment.htm


More information about the Squeak-dev mailing list