right

fun right(value: ScaledValueProperty)

This function is used to define the positional behaviour of an element by the right property.

example call:

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

Parameters

value

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