| Copyright | (c) Paul Schnapp 2023 |
|---|---|
| License | BSD3 |
| Maintainer | Paul Schnapp <paul.schnapp@gmail.com> |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
FULE.Container.Arrayed
Description
Documentation
An array (horizontal or vertical) of visual ItemMs
in a layout. Each item will occupy a different amount of space in the array;
if you wish each item to be evenly spaced, use a Grid
instead.
arrayedHoriz :: Padding -> [ItemM m k] -> ArrayedM m k Source #
Array ItemMs horizontally with the specified padding.
Padding is added between the elements and around the perimeter of the array; the horizontal padding is added once between elements, and the same padding is used before and after the array -- thus the intra-element padding is not double the outside padding.
arrayedVert :: Padding -> [ItemM m k] -> ArrayedM m k Source #
Array ItemMs vertically with the specified padding.
Padding is added between the elements and around the perimeter of the array; the vertical padding is added once between elements, and the same padding is used before and after the array -- thus the intra-element padding is not double the outside padding.