setWidthHeight

open override fun setWidthHeight(width: Float, height: Float): UIElement

Sets the ui element size

Return

this

Parameters

width

the ui element width in pixels

height

the ui element height in pixels