Web component in a grid-based layout

In a grid-based layout, the item tag of the WEBCOMPONENT defines the default dimensions of the web component area:
LAYOUT
GRID
{
<GROUP g1                 >
[f1           ][f2        ]
[f3                       ]
 ...
<                         >
[f5                       ]
[                         ]
[                         ]
[                         ]
}
END

In the ATTRIBUTES section, use the SIZEPOLICY, SCROLLBARS, STRETCH and HEIGHT attributes, to define the sizing policy of a web component field:

By default, the WEBCOMPONENT widget gets the size of the form item. This is the behavior of SIZEPOLICY=FIXED, and is the only option. This defines the minimal size of the web component when it is stretchable.

Note: SIZEPOLICY=DYNAMIC or SIZEPOLICY=INITIAL are not supported with WEBCOMPONENT fields.
By default, WEBCOMPONENT widget are stretchable in both directions (STRETCH=BOTH). This default behavior can be changed by using another value for the STRETCH attribute. In the next example, the web component will get its initial size from the form item size, and will keep this size even if the window is resized because STRETCH=NONE:
WEBCOMPONENT f5 = FORMONLY.mymap,
   SIZEPOLICY = FIXED,
   STRETCH = NONE;