withPosition

open fun withPosition(position: Position): U

Aligns the resulting Component positionally, relative to its parent. Same as calling withAlignment(positionalAlignment(position))

open fun withPosition(x: Int, y: Int): U

Aligns the resulting Component positionally, relative to its parent. Same as calling withAlignment(positionalAlignment(x, y))