[previous] [up] [next]     [index]
Next: spacing Up: area-container<> Previous: reflow-container

set-alignment

Sets the alignment specification for a container, which determines how it positions its children when the container has leftover space (when a child was not stretchable in a particular dimension).

When the container's horizontal alignment is 'left, the children are left-aligned in the container and whitespace is inserted to the right. When the container's horizontal alignment is 'center, each child is horizontally centered in the container. When the container's horizontal alignment is 'right, leftover whitespace is inserted to the left.

Similarly, a container's vertical alignment can be 'top, 'center, or 'bottom.



PLT