Copyright | (c) Paul Schnapp 2023 |
---|---|
License | BSD3 |
Maintainer | Paul Schnapp <paul.schnapp@gmail.com> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
An array (horizontal or vertical) of visual ItemM
s
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.
Instances
arrayedHoriz :: Padding -> [ItemM m k] -> ArrayedM m k Source #
Array ItemM
s 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 ItemM
s 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.