Skip to content

drdavidf/Cuis-Smalltalk-LayoutAlgebra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

A small extension to simplify creating morph layouts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published