<div>| container item |</div><div>container := Morph new color: Color yellow; extent: 150@150.</div><div>container layoutPolicy: TableLayout new;wrapDirection: #rightToLeft.</div><div>item := Morph new.</div><div>container addMorph: item.</div>
<div>container openInHand</div><div><br></div><div>Karl</div><br><div class="gmail_quote">On Thu, May 26, 2011 at 9:01 PM, Chris Muller <span dir="ltr"><<a href="mailto:ma.chris.m@gmail.com">ma.chris.m@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I seem to be going crazy because I've done lots of Morphic programming<br>
in the past. But, for the life of me, I cannot seem to get layout to<br>
work the way I remember it always working. I want rightCenter but<br>
can't get anything but topLeft.<br>
<br>
| container item |<br>
container := Morph new color: Color yellow; extent: 150@150;<br>
cellPositioning: #rightCenter.<br>
item := Morph new.<br>
item cellPositioning: #rightCenter.<br>
container addMorph: item.<br>
container openInHand<br>
<br>
I always thought cellPositioning was set on the _container_, but the<br>
comment says on the "receiver", so even when I set it on both it is<br>
still placed at the top left.<br>
<br>
What am I missing here?<br>
<br><br>
<br></blockquote></div><br>