VerticalLayoutBuilder

Properties

Link copied to clipboard
abstract var align: TextAlign?
Link copied to clipboard
abstract var overflowWrap: OverflowWrap?
Link copied to clipboard
abstract var spacing: Int

The amount of padding between each cell

Link copied to clipboard
abstract var style: TextStyle?
Link copied to clipboard
abstract var whitespace: Whitespace?
Link copied to clipboard
abstract var width: ColumnWidth

Set the width for this layout. By default, the width is Auto and lines are not padded to equal width.

Functions

Link copied to clipboard
abstract fun cell(content: Any?, init: CellStyleBuilderBase.() -> Unit = {})

Add a cell to this builder.

Link copied to clipboard
abstract fun cells(cell1: Any?, cell2: Any?, vararg cells: Any?, init: CellStyleBuilderBase.() -> Unit = {})

Add multiple cells to this builder

Link copied to clipboard
abstract fun cellsFrom(cells: Iterable<Any?>, init: CellStyleBuilderBase.() -> Unit = {})

Add all cells from an iterable to this builder

Link copied to clipboard
open fun style(color: Color? = null, bgColor: Color? = null, bold: Boolean = false, italic: Boolean = false, underline: Boolean = false, dim: Boolean = false, inverse: Boolean = false, strikethrough: Boolean = false, hyperlink: String? = null)