Copyright | (c) Paul Schnapp 2023 |
---|---|
License | BSD3 |
Maintainer | Paul Schnapp <paul.schnapp@gmail.com> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Unreckoned c
- unreckonedHoriz :: c -> Unreckoned c
- unreckonedVert :: c -> Unreckoned c
- unreckoned :: c -> Unreckoned c
Documentation
data Unreckoned c Source #
A container complementary to Sized
: whereas Sized
specifies a size for content which may or may not already have one,
Unreckoned
removes size associated with content as it is reckoned
in the layout. This allows for content to overflow its bounds as far as the
layout is concerned.
The Bounds
in the ComponentInfo
for a
Component
which is Unreckoned
will match the overflowing
size of the Component
even though the size was not taken into account
during the layout process itself.
Instances
Container c k m => Container (Unreckoned c) k m Source # | |
Defined in FULE.Container.Unreckoned minWidth :: Unreckoned c -> Proxy k -> m (Maybe Int) Source # minHeight :: Unreckoned c -> Proxy k -> m (Maybe Int) Source # addToLayout :: Unreckoned c -> Proxy k -> Bounds -> RenderGroup -> LayoutOp k m () Source # |
unreckonedHoriz :: c -> Unreckoned c Source #
Elide the horizontal size of the content.
unreckonedVert :: c -> Unreckoned c Source #
Elide the verital size of the content.
unreckoned :: c -> Unreckoned c Source #
Elide all sizes associated with the content.