orientationHorizontal

fun Grid.Initializer.orientationHorizontal(isLeftToRight: Boolean = true)

Set the item step of a grid so that new items are always positioned in the next column (respecting isLeftToRight argument).

Parameters

isLeftToRight

True if new elements are added to the right, false to add them to the left of the last added elements.