ColumnSizePolicy

Defines how columns within Table and related controls are sized.

Inheritors

Types

Link copied to clipboard
interface Column

Functions

Link copied to clipboard
abstract fun changeColumnWidth(tableWidth: Double, columns: List<ColumnSizePolicy.Column>, index: Int, to: Double)

Used to set a column's width. Implementations need to set the width(s) of any columns that will be changed to update the table.

Link copied to clipboard
abstract fun layout(tableWidth: Double, columns: List<ColumnSizePolicy.Column>, startIndex: Int = 0): Double

Updates the width of each column and return the overall table width needed to properly display the columns based on that width.