perfect :) thanks On 2011-08-30, at 12:44, Gary Chambers wrote:
The standard TableLayout can do this using the #wrapDirection property, e.g.:
|builder| builder := UITheme builder. (builder newRow: { Morph new color: Color red. Morph new color: Color yellow. Morph new color: Color green. Morph new color: Color blue. Morph new color: Color orange}) cellInset: 10; wrapDirection: #topToBottom; openInWindow
Regards, Gary
----- Original Message ----- From: "Camillo Bruni" <camillo.bruni@inria.fr> To: "Pharo Development" <pharo-project@lists.gforge.inria.fr> Sent: Monday, August 29, 2011 10:57 AM Subject: [Pharo-project] MorphLayout
Hi,
I am looking for a sort of FlowLayout which works the same way usually text is handled: All submorphs are put on a single line and wrapped when the border is hit.
Is there already a layout which does this?