Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problem on changing size of all widgets based on window size
mjzarrin last edited by SGaist
I design an UI with qt creator. my problem is when i change window size all of content remain as same size as before . i want these content can expand based on window size.
bellow i prepare 2 image from my app.
default window size
i'll be appreciated if somebody help me.
thank u all.
Did you put your widgets inside layouts ? If not then that's what is missing to your UI
mjzarrin last edited by
thank u very much.
I selected all items in each QStacks pages and then choose layout vertically by Ctrl+L and it works.
thank you again.
You're welcome !
By the way, you don't need to change the title of the thread anymore, just use the "Topic Tool" button to mark the thread as solved.
Also, while browsing the forum, consider up-voting the answers that helped you, that will make them easier to find for other forum users :)