flaw-ui-0.1.0.0

LicenseMIT
Safe HaskellNone
LanguageHaskell2010

Flaw.UI.Layout

Description

 
Synopsis

Documentation

titleInFlowLayout :: Text -> FlowLayoutM () Source #

Title in a layout.

labeledFlowLayout :: Text -> FlowLayoutM a -> FlowLayoutM a Source #

Label a sublayout. Sublayout will be placed to the right of the label.

checkBoxedFlowLayout :: Text -> (CheckBox -> FlowLayoutM a) -> FlowLayoutM a Source #

Label a sublayout with checkbox. Sublayout will be placed to the right of the checkbox.

elementInFlowLayout :: (Element e, HasPreferredSize e) => e -> FlowLayoutM () Source #

Place element in layout. Adds gap after element.

elementWithSizeInFlowLayout :: Element e => e -> Size -> FlowLayoutM () Source #

Place explicitly sized element in layout. Adds gap after element.

okCancelButtonsInFlowLayout :: Button -> Button -> FlowLayoutM () Source #

Right-aligned pair of buttons.