layout

open override fun layout(views: Sequence<Positionable>, min: Size, current: Size, max: Size, insets: Insets): Size

Positions and sizes the given views and returns a size appropriate to laying out these views within the given constraints.

Parameters

views

being laid out

min

the smallest size to fit the views in

current

size to fit the views in

max

the largest size to fit the views in

insets

to apply