¤ hAlignS, vAlignS, et al
Spacers that add space instead of stretching a box when there is extra space
hAlignS :: Alignment -> Spacer
vAlignS :: Alignment -> Spacer
hvAlignS :: Alignment -> Alignment -> Spacer
These spacers prevents a box from growing larger than necessary horizontally,
vertically or both. Instead, arguments determine where in the available
space the box will be placed.
pos :: Alignment
- This is a number between 0.0 and 1.0 that
determines how much of the extra space is put
to the left of (or above) the box. For example, 0 aligns the box
with the left (or top) edge of the available space, 0.5 centers
the box and 1 aligns the box with the right (or bottom) edge.
Common special cases: leftS et al.
Other spacers: hMarginS et al,
Related combinators: compS et al, spacerP, spacerF.