Tips: to discover which message fit your need, you can experiment from the menu you got from the halo of your morph. Hilaire Le 07/01/2014 19:16, Sean P. DeNigris a écrit :
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.
-- Dr. Geo http://drgeo.eu