I designed a GUI with Qt Designer and need to distribute it on many computer with different resolutions. My problem is that the GUI does not scale properly on the different screens: the main window may be truncated, some tables also and the fonts do not have the same size. I found many considerations on forums about using layouts to resize things properly, but I must misuse them since I already use layouts without solving the issue. I tried many things but I don’t see the trick. Can you tell me what I am doing wrong ?
For example this is the correct view of one page:
This is a corrupted view of the same page, same computer with a different resolution:
the difference is acceptable since it is just a truncation of the 'more complex models' label. But this is the view on a windows 7:
Here is a view of my Qt Designer interface (don’t hesitate to ask for some more info since I don’t know what’s relevant):
The ui file is here: https://github.com/steph2016/profiles/blob/master/cprofiles.ui.
update january 12.
I just underline that:
- if some coding is required, I prefer python (3.5+), qt5 and pyqtgraph.
- since I don't know if the problem can be solved via coding and since I don't receive much attention, I add pyqt5 and qt5 in the tags. sorry if it turns out this is not the subject.