setWidthHeight

open 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