<br><br><div class="gmail_quote">On Thu, Oct 30, 2008 at 9:32 AM, Gauland, Michael <span dir="ltr">&lt;<a href="mailto:Michael.Gauland@airways.co.nz">Michael.Gauland@airways.co.nz</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">










<div link="blue" vlink="purple" lang="EN-NZ">

<div>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Can anyone help me learn the 'modern' way of
laying out morphs? I'm trying to create a stack-based ('RPN')
calculate in Squeak (more as a way of learning the language and environment
than because the world needs another calculator). I've been digging
through 'Squeak: Open Personal Computing and Multimedia", which is
a bit dated. The section on Morphic recommends using 'AlignmentMorph',
but the comments for this class (in Squeak 3.10) suggest it is no longer
needed.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">So, what is the best way to layout a set of morphs? At least
for now, all I need is a grid of buttons, that will look sensible when the
parent calculator morph is resized.</span></font></p></div></div></blockquote><div><br>Just use AlignmentMorph.<br><br>I don&#39;t understand any of the comments about it being deprecated. AlignmentMorph is still used throughout the image and works well enough.<br>
<br>Gulik. <br></div></div><br>-- <br><a href="http://people.squeakfoundation.org/person/mikevdg">http://people.squeakfoundation.org/person/mikevdg</a><br><a href="http://gulik.pbwiki.com/">http://gulik.pbwiki.com/</a><br>