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. Regards
*** Confidentiality Notice ***
Proprietary/Confidential |
[hidden email] 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. So my advise is that if you use either AlignmentMorph or Morphic Layout but not together. Karl |
In reply to this post by Bob.Cowdery
[hidden email] skrev:
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 |
Free forum by Nabble | Edit this page |