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.Padded

Description

A Container to add padding around content.

Synopsis

Documentation

data Padded c Source #

A container with padding around the content.

Instances

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

Defined in FULE.Container.Padded

Methods

minWidth :: Padded c -> Proxy k -> m (Maybe Int) Source #

minHeight :: Padded c -> Proxy k -> m (Maybe Int) Source #

addToLayout :: Padded c -> Proxy k -> Bounds -> RenderGroup -> LayoutOp k m () Source #

padded :: Padding -> c -> Padded c Source #

Create a container with padding around the content.