Inflexible

abstract class Inflexible : TableColumnWidth
kotlin.Any
   ↳ androidx.ui.layout.TableColumnWidth
   ↳ androidx.ui.layout.TableColumnWidth.Inflexible

An inflexible column has a fixed size which is computed by preferredWidth.

Summary

Public constructors

An inflexible column has a fixed size which is computed by preferredWidth.

Public methods

TableColumnWidth
flexible(flex: Float)

Creates a column width specification which defaults to the width specified by the preferredWidth of the receiver, but may also grow by taking a part of the remaining space according to the given flex once all the inflexible columns have been measured.

Inherited functions

Public constructors

<init>

Inflexible()

An inflexible column has a fixed size which is computed by preferredWidth.

Public methods

flexible

fun flexible(flex: Float): TableColumnWidth

Creates a column width specification which defaults to the width specified by the preferredWidth of the receiver, but may also grow by taking a part of the remaining space according to the given flex once all the inflexible columns have been measured.