autoWidth

fun autoWidth(max: Dp? = null)

Enable automatic width based on measured content on first render; optionally cap with max.