QT5 How do qt automatically fix the window,text and button size to anyother screen size
-
QT5 How do qt automatically fix the window,text and button size to anyother screen size(e.g 10 inch and 4.3 inch )
I use QWidge::resize to set the size,but the button and text do not transfer

I also try to use qt design sezePolicy-Expanding function,but it is not useful.

Could anyone possibly do me a favour? -
QT5 How do qt automatically fix the window,text and button size to anyother screen size(e.g 10 inch and 4.3 inch )
I use QWidge::resize to set the size,but the button and text do not transfer

I also try to use qt design sezePolicy-Expanding function,but it is not useful.

Could anyone possibly do me a favour?