horizontal

fun horizontal(value: ScaledValueProperty)

This convenience function is used to define the horizontal positional behaviour of an element by the right and left properties at once.

example call:

horizontal { small } // use predefined properties of the theme
horizontal { "2em" } // provide custom value

Parameters

value

positional value; recommended to use the predefined properties of the theme