Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
The configuration of spacing (often a margin or padding).
See: newSpacing
smart constructor.
Instances
newSpacing :: Spacing Source #
Create a value of Spacing
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:bottom:Spacing'
, spacing_bottom
- Define the bottom spacing.
$sel:left:Spacing'
, spacing_left
- Define the left spacing.
$sel:right:Spacing'
, spacing_right
- Define the right spacing.
$sel:top:Spacing'
, spacing_top
- Define the top spacing.