Help. Trying to stretch the frame only but other components are stretched with it

When I try to stretch the frame, other components are also stretched, as you can see in my screen shots. I only want to edit the frame. How can I do it?

Set the correct constraints and resize the frames. Or:

I figured it out, thank you so much!

This worked! Thank you.