Pyside6 application on different screen sizes
-
wrote on 8 Sept 2023, 16:34 last edited by
Good afternoon, I have been designing an application using Pyside6 on a computer with a 24'' monitor. The problem is that now, when I pick up my 14'' laptop some windows of the application do not fit whole (lengthwise) on the screen and I cannot interact with part of those windows. I can't resize the windows either because they are just the right size to fit all the widgets in the window. Is there any way to set the size of the widgets relative to the total screen size? Maybe this way I can have an interface that adapts to various sizes.
-
Hi,
Did you use layouts to build your application ?
-
How many widgets do you have there ?
Layouts usually resize their inner widgets down to a minimum when you resize the containing widget.
1/4