setSize

Resizes a panel object the to the specified width and height, in pixels. Valid only in <abs/> containers.

Syntax

ogscript.setSize (ID, width, height);

Parameters

Parameter

Type

Required

Description

ID

String

Yes

ID of the panel object to be resized. Valid only in <abs/> containers.

width

Integer

Yes

New width of the panel, in pixels.

height

Integer

Yes

New height of the panel, in pixels.

 

Returns

N/A

Example

Coming soon.