say i had a frame with 2 elements in it, like 2 windows. how can i put one at the top and one window at the bottom of the frame where they get resized when the frame does?

whenever the frame resizes - the windows i have in my frame stay the same size - how can they resize with the frame?

Thanks