2024-10-19 01:11 AM
hi,
Recently I notice that toucgfx simulator screen size is twice the value set in toucgfx designer, if I want the exact pixel size set in touchgfx designer while simulating, is there a scaling factor or some function to call?
thanks for your time.
Solved! Go to Solution.
2024-10-21 06:46 AM
Hello @wonderFine,
TouchGFX simulator is based on the display size that is set in your project. You can validate the set dimensions by navigating through
generated\gui_generated\include\gui_generated\common
and checking the SIM_WIDTH and SIM_HEIGHT that are defined in SimConstants.hpp
In addition, you can follow the execution of the simulator if you open the Application.sln file that is generated inside:
simulator\msvs
So, there is no scaling factor or function, and the simulator window should be as large as the your defined display.
Please, send a screenshot of the problem and explain more about your procedure of creating your project. Are you using the available board setups in the TouchGFX Designer? Are you developing on a custom board?
2024-10-21 06:46 AM
Hello @wonderFine,
TouchGFX simulator is based on the display size that is set in your project. You can validate the set dimensions by navigating through
generated\gui_generated\include\gui_generated\common
and checking the SIM_WIDTH and SIM_HEIGHT that are defined in SimConstants.hpp
In addition, you can follow the execution of the simulator if you open the Application.sln file that is generated inside:
simulator\msvs
So, there is no scaling factor or function, and the simulator window should be as large as the your defined display.
Please, send a screenshot of the problem and explain more about your procedure of creating your project. Are you using the available board setups in the TouchGFX Designer? Are you developing on a custom board?
2024-11-11 05:07 AM
Hello @wonderFine ,
Have you been able to move forward on your project?
Regards,
2024-12-08 06:37 AM
thanks for your kindly help. It turns out that it's my computer screen display scale factor was set by 200%, the pixels set by touchgfx designer is exactly the same with that of computer screen when set by 100%
2024-12-08 06:38 AM
thanks for your concern, the problem solved