RightMargin: Number;
The RightMargin property determines right margin of titles.
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.
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: