How can I set the width of a treeview?
I have only one column, but in the view I see 2 columns?
layout = c4d.BaseContainer()
layout.SetInt32(ID_NAME, c4d.LV_USERTREE)
self._treegui.SetLayout(1, layout)
How can I set the width of a treeview?
I have only one column, but in the view I see 2 columns?
layout = c4d.BaseContainer()
layout.SetInt32(ID_NAME, c4d.LV_USERTREE)
self._treegui.SetLayout(1, layout)
Solved.
def GetColumnWidth(self, root, userdata, obj, col, area):
return 200 # All have the same initial width