horizontalScroll

fun StyleScope.horizontalScroll()(source)

The max constraint is added here (rather than in imitateComposeUiLayout) so that scroll containers have a definite max size to scroll within, while non-scrollable layouts don't get their content hidden by the max constraint.

See also