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 |
Synopsis
Documentation
data SectionStyle Source #
The options that style a section.
See: newSectionStyle
smart constructor.
Instances
newSectionStyle :: SectionStyle Source #
Create a value of SectionStyle
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:height:SectionStyle'
, sectionStyle_height
- The height of a section.
Heights can only be defined for header and footer sections. The default height margin is 0.5 inches.
$sel:padding:SectionStyle'
, sectionStyle_padding
- The spacing between section content and its top, bottom, left, and right
edges.
There is no padding by default.
sectionStyle_height :: Lens' SectionStyle (Maybe Text) Source #
The height of a section.
Heights can only be defined for header and footer sections. The default height margin is 0.5 inches.
sectionStyle_padding :: Lens' SectionStyle (Maybe Spacing) Source #
The spacing between section content and its top, bottom, left, and right edges.
There is no padding by default.