Copyright | (c) 2018 Francisco Vallarino |
---|---|
License | BSD-3-Clause (see the LICENSE file) |
Maintainer | fjvallarino@gmail.com |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
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.
Configs:
- width: the max width of the line.
- resizeFactor: flexibility to have more or less spaced assigned.
Synopsis
- separatorLine :: WidgetNode s e
- separatorLine_ :: [SeparatorLineCfg] -> WidgetNode s e
Documentation
separatorLine :: WidgetNode s e Source #
Creates a separatorLine widget.
separatorLine_ :: [SeparatorLineCfg] -> WidgetNode s e Source #
Creates a separatorLine widget. Accepts config.