Container automatically resize in Draw Frame

I have a container in drawer frame body, As drawer frame body height changes with different screen sizes. I want the container height to change to fit the drawer frame body. Any ideas how?

Hello @Bilal_Asad!

Is the container the only object in the Drawer Frame? Not including things within the container itself, if you only have one component in the Drawer Frame you can enable the Expand content to fit option on the Frame settings, which auto-sizes to fill the Frame.

This only works when there is only one component placed (in this case, a Container). You can build within the container this way as though it were the Frame but ensure that the whole Drawer Frame is full. Below is an example. You can then arrange the container as a Stack to evenly space the nested components (but be sure to understand how to distribute the content -- in my example you can see the order of my Text is shuffled, this is just how the layout shifted from me quickly throwing things together).

Hello thank you for this, but on the frame I will have more components, however in the frame body it's only the container. So I want to be able to resize the container according to the body of frame

Hey @Bilal_Asad - you can use the Expand content to fit option while still having separate header and footer containers, if that's what you're worried about.