Hello there,
I am fairly new to developing GUIs in Python and have been experimenting with both PySide6 and PyQt5. So far; I have managed to create some basic applications; but I am struggling to make my GUIs responsive and adaptable to different screen sizes or window resizing.
I have noticed that my layouts tend to break or elements get misaligned when the window is resized; and it is not providing the smooth experience.
How do I ensure that widgets resize proportionally without overlapping or looking awkward? I have been using these layouts; but I am unsure how to nest them properly to create more complex and flexible designs.
I understand that stretch factors and size policies play a role in widget behavior; but I have not quite grasped how to use them optimally. Could someone clarify their practical application with examples?
Also, I have gone through this post; https://forum.pythonguis.com/t/about-pyqt6-and-pyside6-minitab which definitely helped me out a lot.
Are there any general guidelines or patterns I should follow to ensure the GUI remains user friendly on different screen sizes?
Thanks in advance for your help and assistance.