I designed a QMainWindow with QtCreator's designer. It consists of the default central widget (a QWidget) which contains a QVBoxLayout with all the other widgets in it. Now everything I want, is that the QVBoxLayout automatically occupies the whole central widgets rectangle space.
QMainWindow
QtCreator's
QWidget
QVBoxLayout
How can I do this? I didn't find any usable property neither in the central widgets properties nor the QVBoxLayout's ones.
QVBoxLayout's
You don't have to create a QVBoxLayout manually. Just select your central QWidget and press a make-layout button.
1.4m articles
1.4m replys
5 comments
57.0k users