labelMorph := Morph new.
"labelCenteringMorph := Morph new
� � � � beTransparent;
� � � � hResizing: #spaceFill;
� � � � changeTableLayout;
� � � � listDirection: #leftToRight;
� � � � listCentering: #center;
� � � � addMorph: labelMorph;
� � � � yourself."
Morph new
� � � � color: Color white;
� � � � changeTableLayout;
� � � � listCentering: #center;
" � � � cellPositioning: #center;"
� � � � extent: 500@500;
� � � � addMorph: labelMorph;
� � � � openInWorld.
How do I get labelMorph centered on the width of its parent without
labelCenteringMorph?
-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Submorph-centering-tp4734988.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.