LeftMargin: Number;
The LeftMargin property determines left margin of titles.
Use JSON or the setLeftMargin method to set the property value and the getLeftMargin method to get the property value.
The value is set in pixels.
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 left margin of titles caps.setLeftMargin(30);
After executing the example left margin is set.
See also: