the PackerAttribute algebraic data type encodes the different
options the Packer accepts:
type PackerAttributes = [PackerAttribute]
data PackerAttribute
= PackerFill PackFill
| PackerSide CompassDirection
| PackerPad Axis Unit
| PackerIPad Axis Unit
| PackerExpand Bool
| PackerAnchor CompassDirection
deriving Eq
for full explanation of what these attributes do, I suggest looking at
documentation for Tk, here's a short summary:
- PackerFill controls how the packer should expand a components
bounding box if the allocated area is larger than the natural size.
- PackerSide sets the side from which the packer should allocate a
parcel.
- PackerPad sets the external padding of a packer component.
- PackerIPad sets the internal padding (i.e., treat the size of
the component as slightly larger/smaller)
- PackerExpand controls if a component should soak up whatever
is left inside the packer bounding box.