Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

When resizes the entire window, the vertical layout (and thus its content) will stretch to fit it