Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 1017 Bytes

File metadata and controls

20 lines (11 loc) · 1017 Bytes

Cuis-Smalltalk-LayoutAlgebra

A small extension to simplify creating morph layouts.

Try this in a Workspace:

image

The + operator arranges the morphs in a row layout. fh: and fw: set the morph's fixed height and width. align: determines the morph's relative position in the contrary direction. Finally, the @ operator sets the separation space between the morphs.

Now try this:

image

The / operator arranges the morphs in a column layout.

Or this:

image

The </> operator arranges the morphs in a column layout with an adjuster morph between them (<+> arranges them in a row layout). ph: and pw: set the morph's proportional height and width.