FULE-0.3.1: Functional UI Layout Engine
Copyright(c) Paul Schnapp 2023
LicenseBSD3
MaintainerPaul Schnapp <paul.schnapp@gmail.com>
Safe HaskellSafe-Inferred
LanguageHaskell2010

FULE.Container.Unreckoned

Description

A Container to remove dimension info from content when it's considered during the layout process.

To add size to content, see the Sized container.

Synopsis

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

Instances details
Container c k m => Container (Unreckoned c) k m Source # 
Instance details

Defined in FULE.Container.Unreckoned

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.