layout

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

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

Return

the updated width for the table

Parameters

tableWidth

of the Table before column widths updated

columns

within the Table

startIndex

of columns that will be sized