SOLVED Setting the width of a treeview column

How can I set the width of a treeview?

I have only one column, but in the view I see 2 columns?
0c87535e-740b-425b-a7ef-9a39684f09b2-image.png

        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

hello,

that's because you set the width of your columns to more that what it show.

But you can simply passed that argument when you add your customGUI

settings.SetBool(c4d.TREEVIEW_RESIZE_HEADER, False)

In the c++ doc you have that page and in python this one

Cheers,
Manuel