x

Sets the component's actual x position to value, keeping its current y, like setLocation(x, y). See location (the Int overload) for how it takes effect only outside a managed layout and how location/x/y compose per axis.

Return

this modifier with the x position declared on it.

Parameters

value

the left edge in pixels, in the parent's coordinate space; the y coordinate written with it is the one the component holds when the write runs - whatever the last declaration or layout pass left there.

See also