Skip to content

setSize()

Set the object's width and height.

dropdownlist.setSize(width, height)

Parameters

dropdownlist.setSize(width, height)
Parameter Type Default Description
width int or float required The new width, in pixels.
height int or float required The new height, in pixels.