ListCaptions.RightMargin

Syntax

RightMargin: Number;

Description

The RightMargin property determines right margin of titles.

Comments

Use JSON or the setRightMargin method to set the property value and the getRightMargin method to get the property value.

The value is set in pixels.

Example

Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).

// Get tree titles
caps = Tree.getCaptions();
// Set right margin of titles
caps.setRightMargin(30);

After executing the example right margin is set.

See also:

ListCaptions