Instance Method インスタンスメソッド

width(_:)

Creates a fixed width table column that is not user resizable.

Declaration 宣言

func width(_ width: CGFloat? = nil) -> TableColumn<RowValue, Sort, Content, Label>
Available when RowValue conforms to Identifiable, Sort conforms to SortComparator, Content conforms to View, and Label conforms to View.

Parameters パラメータ

width

A fixed width for the resulting column. If width is nil, the resulting column has no change in sizing.

See Also 参照

Setting the Column Width