<div dir="ltr">I got confused, too.<div><br></div><div>But it's reason is that it's a cascade sent to a morph, not to TableLayout, like this:</div><div><div><br></div><div>aMorph layoutPolicy: TableLayout new;</div><div><span class="" style="white-space:pre">        </span> listDirection: #leftToRight;</div><div><span class="" style="white-space:pre">        </span> wrapCentering: #topLeft;</div><div><span class="" style="white-space:pre">        </span> hResizing: #shrinkWrap;</div><div><span class="" style="white-space:pre">        </span> vResizing: #shrinkWrap;</div><div><span class="" style="white-space:pre">        </span> layoutInset: 2;</div><div><span class="" style="white-space:pre">        </span> rubberBandCells: true</div></div><div><br></div><div>Karl</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 26, 2015 at 2:29 PM, Tobias Pape <span dir="ltr"><<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Karl<br>
<span class=""><br>
On 26.04.2015, at 05:56, <a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a> wrote:<br>
<br>
> Karl Ramberg uploaded a new version of Morphic to project The Trunk:<br>
> <a href="http://source.squeak.org/trunk/Morphic-kfr.930.mcz" target="_blank">http://source.squeak.org/trunk/Morphic-kfr.930.mcz</a><br>
><br>
> ==================== Summary ====================<br>
><br>
> Name: Morphic-kfr.930<br>
> Author: kfr<br>
> Time: 26 April 2015, 7:56:20.732 am<br>
> UUID: 719010c7-4822-d540-842d-0091f1df654d<br>
> Ancestors: Morphic-kfr.929<br>
><br>
> Added a missing semicolon<br>
><br>
> =============== Diff against Morphic-kfr.929 ===============<br>
><br>
> Item was changed:<br>
> ----- Method: LayoutProperties>>stringWithLayout (in category 'table defaults') -----<br>
> stringWithLayout<br>
> | defaultValues uniqueValues |<br>
> defaultValues := TableLayoutProperties new.<br>
> uniqueValues := self class allInstVarNames<br>
> select: [:title | (self instVarNamed: title)<br>
> ~= (defaultValues instVarNamed: title)].<br>
> ^ String<br>
> streamContents: [:aStream |<br>
> + aStream nextPutAll: 'TableLayout new; '.<br>
> - aStream nextPutAll: 'TableLayout new '.<br>
<br>
</span>can you explain why this is necessary?<br>
Why should subsequent messages go to the class instead of the instance?<br>
<br>
Best regards<br>
<span class="HOEnZb"><font color="#888888"> -Tobias<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
> uniqueValues<br>
> do: [:title | aStream nextPutAll: title;<br>
> nextPut: $:;<br>
> space;<br>
><br>
> print: (self instVarNamed: title).<br>
> (title = uniqueValues last)<br>
> ifTrue:[ aStream nextPut:$.]<br>
> ifFalse:[ aStream nextPut: $;; cr]<br>
> ]]!<br>
><br>
><br>
<br>
<br>
</div></div></blockquote></div><br></div>