UI Stretch with QtCreator
-
I create an ui for my app with QtCreator but i cant make it stretch, when i reduce the window the QpushButton are hiding :
my main ui is like this :
mainwindow.uithe tree of my ui is :
how to make it stretch ??? i like the actual presentation but i can change it and for small screen the window is to large.
-
Because the three layout widgets are not added to any layout. They are child widgets of centralWidget, but they are not added to its layout.
A widget will only be resized and moved to fit the window when it is added to a layout whose parent widget is either the window or also added to an layout whose.....(repeatedly) -
@Bonnie said in UI Stretch with QtCreator:
Because the three layout widgets are not added to any layout. They are child widgets of centralWidget, but they are not added to its layout.
A widget will only be resized and moved to fit the window when it is added to a layout whose parent widget is either the window or also added to an layout whose.....Thanks for help me, that works