WidthSetting

sealed class WidthSetting

Inheritors

Types

Link copied to clipboard
class Flex(val weight: Float) : WidthSetting

Use this width setting when you want the column to use all remaining horizontal space in the column.

Link copied to clipboard
class Static(val width: Dp) : WidthSetting

Use this width setting when you want the column to have a fixed size.

Link copied to clipboard

Use this width setting when you want the column to be the size of the widest element in the column. Note that the width is calculated based on the rows currently shown on the screen — when changing the pages, the width is recalculated, and is likely to be different than the previous.