2 Layout Components

How to arrange components together is a cornerstone of GUI design. A text entry may come with a text label to indicate the expected input. These are two widgets – one passive text label and one active text input entry – and the GUI designer needs to decide how to arrange them. In a column? In a row? Centered? This chapter covers this topic.

Instances of the class LayoutMorph actively manage the position and size of morphs that are added to them, referred to as submorphs.