StackPanel.add

Syntax

add(ctrl, fullSize, width, height)

Parameters

ctrl. Item to be added, an instance of PP.Ui.Control;

fullSize. Determines if component occupies the whole panel. By default the parameter is set to True, and the component occupies the entire panel.

width. Component width to be set after adding.

height. Component height to be set after adding.

Description

The add method adds an item to a panel.

Example

The example of method use is given in description of the StackPanel constructor.

See also:

StackPanel