PageControl.setWidth

Sets the width for the page including any configured JSPs.

Since the Page Control is the root control, a width specified for this control acts as the 100% value for all child containers that specify % widths. Removing this width specification subsequently can cause a page to appear to collapse: this is because child controls may have a width of 100% specified, but there is no parent width value established so this is interpreted as 100% of nothing.

Supported values:
ValueDescription
A specific valueAs per the CSS width property e.g. 800px
nullThe maximum value: uses the maximum width available to the browser. This width will include any configured padding, border or margins for the page.

Examples:

 controls.PAGE1.width = "800px";
 controls.PANEL1.width = "50%";
 controls.PANEL1.setWidth(null);
 

Parameters

java.lang.String  width,