setWidth

open fun setWidth(width: Float): UIElement

Sets the ui element width

Return

this

Parameters

width

the ui element width in pixels