"treeStepSize"

Specifies the number of pixels a child is offset from its parent.

Synopsis

shape.treeStepSize(int size);

Parameters

Parameter Description
shape Name of the object
size The offset

Description

Specifies the number of pixels a child is offset from its parent.

Example

The following example sets the number of pixels a child will be offset from its parent to 9 pixels.

main()
{
  TREE1.treeStepSize(9);
}
Abbildung 1. The Space between the Parent and Child element was set to 9 Pixels

Assignment

Tree widget, DPTreeView