Tuesday, March 16, 2010, 4:00:33 PM, you wrote:
<br><br>&gt; You might check your wrap setting, see that it's off. &nbsp;I think
<br>&gt; cellPositioning should be on the parent element, the container of the
<br>&gt; others, and set to #center..
<br><br>Thanks for your quick answer.
<br><br>Which wrap setting do you mean?
<br><br>#wrapDirection is set to none, #wrapDirection is by default set to
<br>#topLeft.
<br>I already tried to set cellPositioning: #center for the container, but
<br>unfortunately it doesn't work.
<br><br>It seems as if the following combination works:
<br><br>vResizing: #shrinkWrap;
<br>listCentering: #justified;
<br>wrapCentering: #center.
<br><br>#shrinkWrap avoids the spaces from getting bigger while scrolling,
<br>listCentering: #justified puts the inner elements below each other and
<br>wrapCentering: #center puts everything to the center.
<br><br>But I don't really understand how this works and why listCentering:
<br>#center is not the right option...Morphics and LayoutPolicies seem to
<br>be some kind of dark magic. 
<br><br>Greetings,
<br>Esther
<br><br>
<br><hr align="left" width="300">
View this message in context: <a href="http://n4.nabble.com/Centering-elements-in-TableLayout-tp1594908p1595140.html">Re: [UI] Centering elements in TableLayout</a><br>
Sent from the <a href="http://n4.nabble.com/Squeak-UI-f133624.html">Squeak - UI mailing list archive</a> at Nabble.com.<br>