setWidth

open override fun setWidth(width: Float): UIElement

Sets the ui element width

Return

this

Parameters

width

the ui element width in pixels