I have a little problem with my window. I created a window using Designer (anaconda prompt> designer). Once I launch my window on my fixed PC screen no problem but when I launch my interface on my laptop (with a smaller screen), the window of the interface is much too large, it does not resize according to the size of the screen. I have looked at several forums without finding an answer.
Asked
Active
Viewed 202 times
0
-
You can get the screen resolution like here and then set the window resolution accordingly. https://stackoverflow.com/questions/27109629/how-can-i-resize-the-main-window-depending-on-screen-resolution-using-pyqt – rikisa Jul 27 '20 at 12:54
-
Are you using layout managers (which you should)? Some widgets have fixed/minimum sizes set? Please share the ui file or the file generated from pyuic. – musicamante Jul 28 '20 at 20:31