About deprecating AlignmentMorph

stéphane ducasse ducasse at iam.unibe.ch
Mon Jul 26 18:14:47 UTC 2004


Hi

Alignment has been deprecated (and should not be used anymore) but 
there are a lot of ancient
code still using it. Cleaning that would be nice, if somebody dares :).
As a first step in that direction I would like to know where coudl we 
define the helper methods

newVariableTransparentSpacer
	"Answer a space-filling instance of me of the given color."

	^ self new
		hResizing: #spaceFill;
		vResizing: #spaceFill;
		layoutInset: 0;
		borderWidth: 0;
		extent: 1 at 1;
		color: Color transparent

and if this is the same as

Morph new
		layoutPolicy: TableLayout new;
		hResizing: #spaceFill;
		vResizing: #spaceFill;
		layoutInset: 0;
		borderWidth: 0;
		extent: 1 at 1;
		color: Color transparent


Stef




More information about the Squeak-dev mailing list