LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase the row spacing between tree items in a modern tree control

Solved!
Go to solution

I have a VI where i have used a tree control from the modern pallate, I need to increase the space between tree items. and should be maintained even if I programatically Add or Remove tree items

PS:  "AutoRowHt " Property doesnt seem to help here

 

0 Kudos
Message 1 of 3
(2,621 Views)
Solution
Accepted by topic author swpo

Unfortunately I didn't have time to play around with whether or not this propgates to new programmatically created entries in the tree control, but if not, you could always just re-run this section of code (or specify the specific row since you'll know the index of the inserted element).

 

height.png

 

Specifying -2 into the Row Number property will specify the change is to be made for all rows in the tree.

Message 2 of 3
(2,589 Views)

Thank you 🙂

 

I shall build my code around this logic  🙂

0 Kudos
Message 3 of 3
(2,554 Views)