Hello @zqizh.1
Finally, your problem comes from a configuration of QtCreator itself. You need to configure the resolution of the target of the Designer tool.
How to do that ?
In QtCreator, go to Tools -> Options -> Designer -> Embedded Design.
Here you will create a new Device profile that will deals with your real target resolution. In the case of the native screen of the STM32MP15, we have something like 234 x 236 dpi.
Then you will restart QtCreator (it seems that it needs it to reconfigure the preview). And now the preview is in phase with what you can observe on your target:
Now you can adjust the font size of the QButton and the QLabel properly depending of what you want.
Hope it will help you.
Regards.
Erwan.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
