layout is a layout panel:
That is, the layout container has five layout areas: North, South, East, West and Center. Where the center area panel is required, but the center area panel edge area panels are optional. Each edge region of the panel can be adjusted by dragging its borders. Layouts can be nested so users can build complex layouts.
If you want the frames in each area to change with the size of the frame, please nest it into the layout frame;