Hilaire Fernandes | 14 Dec 12:19
Favicon

strange behavior in the layout with WrapDirection attribute

I have found the following example to not work as expected.
The problem seems to come from the wrapDirection.

In this exemple if you resize the morph, the layout is refresh correctly.

I badly need it to work as expected

submorph := Morph new color: Color red;
	layoutPolicy: TableLayout new;
	listDirection: #leftToRight;
	cellInset: 10;
	vResizing: #shrinkWrap;
	hResizing: #spaceFill;
	wrapDirection: #topToBottom.
10 timesRepeat: [submorph addMorph: Morph new].
(Morph new color: Color yellow; extent: 300 <at> 500;
	layoutPolicy: TableLayout new;
	listDirection: #topToBottom;
	layoutInset: 10; cellInset: 10;
	addMorphBack: submorph;
	addMorphBack: (Morph new color: Color orange;
		vResizing: #spaceFill;
		hResizing: #spaceFill)) openInWorld
erollo | 14 Dec 12:25
Picon

Re: strange behavior in the layout with WrapDirection attribute

***Ceci est une réponse automatique. This is an automatic reply.*** 

Bonjour, 

Cette adresse ne sera bientôt plus valide. Contactez moi dorénavant à 
rollo <at> sic.univ-poitiers.fr. Merci. 

Hi, 

This email will not be available any more. Please send mail to 
rollo <at> sic.univ-poitiers.fr. Thanks. 

Emeric Rollo 

Attachment: message/delivery-status, 131 bytes
Attachment: text/rfc822-headers, 3769 bytes
_______________________________________________
Squeakfoundation mailing list
Squeakfoundation <at> lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/squeakfoundation

Gmane