Template Container

Hey all,

How does one make it so when Instantiating a VisualTreeAsset the Template Container that gets placed sticks to the Width and Height (which is set to 100%) I have tried the flex to 1 also and it doesn’t work.

The new menu cants but in with a different height. all the child panels are set to 100% height as well…
So i am completely lost.

You could try this Unity - Scripting API: UIElements.VisualElementExtensions.StretchToParentSize