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

FULE.Container.Config.SizedContent

Description

Datatype and functions for specifying the size of content.

Synopsis

Documentation

type SizedContentSize a = Maybe a Source #

The size that the sized portion of a container should have; see the Divided container for an example use.

sizedTo :: a -> SizedContentSize a Source #

Use a set size for the sized portion of a container.

sizedToContents :: SizedContentSize a Source #

Use the inherent size of the content for the sized portion of a container.