[BUG][FIX] AlignmentMorph

Matej Kosik kosik at decef.elf.stuba.sk
Thu Jan 29 12:28:22 UTC 2004


I was trying something like this in my Squeak3.6#5429

	World color: Color black.
	a := AlignmentMorph newRow openInWorld.
	a position: 10 at 10.

I have noticed that the AlignmentMorph is not transparent but there
is a little dot. The attached changeset fixes this little problem.
-- 
Matej Kosik <http://altair.dcs.elf.stuba.sk/wiki/Kosik/Main>
-------------- next part --------------
'From Squeak3.6 of ''6 October 2003'' [latest update: #5429] on 29 January 2004 at 1:31:22 pm'!

!AlignmentMorph methodsFor: 'initialization' stamp: 'mk 1/29/2004 13:29'!
initialize
	"initialize the state of the receiver"
	super initialize.
	""
	self layoutPolicy: TableLayout new;
	 listDirection: #leftToRight;
	 wrapCentering: #topLeft;
	 hResizing: #spaceFill;
	 vResizing: #spaceFill;
	 layoutInset: 2;
	 rubberBandCells: true;
	 color: Color transparent! !


More information about the Squeak-dev mailing list