HorizontalLayoutBuilder

Properties

Link copied to clipboard

If false, (the default) padding in fixed width columns will reduce the content width so that the total width is always exactly the specified width.

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

Vertical alignment of cell contents

Link copied to clipboard
abstract var whitespace: Whitespace?

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
abstract fun column(i: Int, init: ColumnBuilder.() -> Unit)

Configure a single column, which the first column at index 0.

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)