lenards/elm-ui-patternfly/4.0.2

PF6.Bullseye

PF6 Bullseye layout

Centers content vertically and horizontally in a container. Can only contain one section of content.

See: https://www.patternfly.org/layouts/bullseye

Definition

type Bullseye msg

Opaque Bullseye type

Constructor

bullseye : Element msg -> Bullseye msg

Construct a Bullseye layout wrapping a single child element

Modifiers

withPadding : Int -> Bullseye msg -> Bullseye msg

Set padding around the centered content

withMinHeight : Int -> Bullseye msg -> Bullseye msg

Set minimum height for the container

Rendering

toMarkup : Theme -> Bullseye msg -> Element msg

Render the Bullseye as an Element msg