[BUG] table layout problem

Joshua 'Schwa' Gargus schwa at cc.gatech.edu
Sun Jan 6 21:41:46 UTC 2002


Hello squeakers,

I unearthed an obscure layout bug.  Shrinkwrapping doesn't work
properly when the list direction is right to left.  The following code
demonstrates the problem:

Morph new
	addMorph: (Morph new color: Color yellow);
	addMorph: (Morph new color: Color red);
	changeTableLayout;
	listDirection: #rightToLeft;
	vResizing: #shrinkWrap;
	hResizing: #shrinkWrap;
	extent: 200 at 200;
	openInHand

There should be no visible blue morph, but there is.

Joshua





More information about the Squeak-dev mailing list