windows application scaling
-
I developed my GUI using Qt designer 5.14.1 on Windows 11 with resolution 1366 x 768(maximum) and scaling 100%(recommended). When I use my Python application with this GUI with fixed window size 1366, 768 on a different computer with resolution 1900 x 1080(maximum) and scaling 150%(recommended) the GUI contents shrink in size and the texts become scaled out of size and overlap on other widgets. How do I have the same size for the GUI contents irrespective of screen resolution and scaling?
-
I developed my GUI using Qt designer 5.14.1 on Windows 11 with resolution 1366 x 768(maximum) and scaling 100%(recommended). When I use my Python application with this GUI with fixed window size 1366, 768 on a different computer with resolution 1900 x 1080(maximum) and scaling 150%(recommended) the GUI contents shrink in size and the texts become scaled out of size and overlap on other widgets. How do I have the same size for the GUI contents irrespective of screen resolution and scaling?
@arunkannan said in windows application scaling:
How do I have the same size for the GUI contents irrespective of screen resolution and scaling
Use layouts: https://doc.qt.io/qt-6/layout.html