monomer-1.1.1.0: A GUI library for writing native Haskell applications.
Copyright(c) 2018 Francisco Vallarino
LicenseBSD-3-Clause (see the LICENSE file)
Maintainerfjvallarino@gmail.com
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Monomer.Widgets.Singles.SeparatorLine

Description

SeparatorLine is used for adding a separator line between two widgets. It adapts to the active layout direction, creating a vertical line on a horizontal layout and viceversa.

The line has the provided width in the direction orthogonal to the layout direction, and takes all the available space in the other direction. In case of wanting a shorter line, padding should be used.

Synopsis

Configuration

Constructors

separatorLine :: WidgetNode s e Source #

Creates a separatorLine widget.

separatorLine_ :: [SeparatorLineCfg] -> WidgetNode s e Source #

Creates a separatorLine widget. Accepts config.