TreeMargins

The TreeMargins class provides a set of four properties that are used to set the top, bottom, right and left margins for the AdvancedTree. The constructor for the class allows for all property values to be passed in, or an instance can be created and have each of its properties modified individually.

 

Property Name Getter/Setter Class Default Description
bottom getter/setter Number 10 The pixels that render below the bottommost node in the tree.
left getter/setter Number 10 The pixels that render to the left of the first level node(s) in the tree.
right getter/setter Number 5 The pixels that render to the right of the longest node in the tree.
top getter/setter Number 5 The pixels that render above the topmost node in the tree.