Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
App window too small and elements compressed when run
A_Ingrassia last edited by
I am relatively new to coding in general and especially new to Qt. I built a little dice roll simulation program with Python and thought it would be more fun to make it into a GUI, so I started messing around with Qt Designer. I finished building it with PySide6 + Qt Designer, and it looked and worked great when run. Then I learned that PySide6 is so new that there's currently no way for me to compile the app into a single executable, so I switched to PyQt5 and changed the code accordingly. Now when I run it, the app works but the window is too small and the app elements are all compressed together (see the following image).
I've tried a bunch of stuff but to no effect - even changing the height/width doesn't change anything.
Any advice would be greatly appreciated!
It's a pretty long file, I could provide the whole thing but that seemed like it would be too much. Also I'm on Windows 10 (64 bit) if that matters.
Hi and welcome to devnet,
Are you using layouts to build your UI ?