Closed JoanaSmit closed 1 year ago
Hi, you can customize node height already. You can achieve that by passing custom treeRenderer
:
<ControlledTree
{...}
treeRenderer={(treeProps) => <TreeRenderer {...treeProps} nodeHeight={() => 100} />}
/>
I copied the issue to iTwin/viewer-components-react because I need customizable node height in ModelsTree and CategoryTree.
The tree node height is too small for mobile devices. Make node height customizable so we could increase touch area.