Help Request: The basics of UI TreeView Control

Hi,

I have the following setup in an application UI scene, trying to get a list of items, with some visibility buttons and a “more details” button.

I’m not able to change the visibility icon correctly, with a new icon appearing in the wrong place.

If someone could please give me some pointers on the correct way to be using the treeview, that would be appreciated!

https://github.com/DaveSteadman/ScratchPublic/blob/main/TreeControl.cs