Perspective MenuTree Grow Based on Content

How can I make a MenuTree grow Based on content? Right now if I set it to grow 1 it will just push the child all the way to the bottom of the container. The items in the MenuTree are dynamic so there are not always the same amount of items. If I just set one size the menu tree will either cut off the items or there will be a bunch of white space until the child.

I figured this one out.

Set the MenuTree to grow=0, shrink=1, basis=“Larges you ever want it to be”
Then add a second flex container next to the MenuTree and set it to grow=1, shrink=0, basis=“The smallest you ever want it to be”
Then add your component inside the flex container