resolveColumnWidth

fun resolveColumnWidth(key: C, spec: ColumnSpec<*, C, *>? = null): Dp

Resolves the effective width for a column given its key and optional spec.

Resolution priority:

  1. User-resized width from columnWidths

  2. Spec-defined width from spec

  3. Default width from TableDimensions.defaultColumnWidth

Return

effective column width

Parameters

key

column key

spec

optional column spec; if null, only columnWidths and default are considered