Tree view requires all visual elements to have the same height so that it can calculate a sensible scroller size.
Use rowHeightto set the fixed height used for each row in the TreeView.
Use showAlternatingRowBackgrounds property to add alternating row background colors to the tree view.
Use showBorder property to show a border around the tree view.
Use multiColumnHeader property to get the MultiColumnHeader of the TreeView. Can be null if the TreeView was created without a MultiColumnHeader.
Header label text can be bold to signify a main parent folder in the hierarchy, such as assets folder in project window.
Tree view contents are always displayed in a scroll view container to enable scrolling when the contents are larger than the viewport.
In tree views (e.g. hierarchy, project window), clicking on the foldout arrow expands the foldout, and clicking on the Foldout text selects the tree view element.
Double clicking on a tree view item allows for renaming of the selected item.
A Tree view can contain and be paired with the following elements:
An open tree view item displaying its children.
A collapsed tree view item.
Default state of tree view item.
When hovered, tree view item rows are highlighted.
When selected, tree views rows are highlighted.
When focused, tree view item labels are highlighted in blue.
Disabled tree view items.