setX

open fun setX(x: Float): UIElement

Sets the element X position within its parent

Return

this

Parameters

x

the element X position within its parent in pixels