createItemComponent in TreeViewItem doesn't make my component to fill all area

Hi, I succesfuly created my own components to and passed it throw createItemComponent() to my TreeViewItems, I also removed the OpenCloseButton, but now I want that my custom components are resized to fill all area of items (I will provide a button to open close them inside my custom component), there’s a way?