cancel
Showing results for 
Search instead for 
Did you mean: 

touchgfx simulator screen size scaling factor

wonderFine
Associate

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.

2 REPLIES 2

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? 

Mohammad MORADI
ST Software Developer | TouchGFX
GaetanGodart
ST Employee

Hello @wonderFine ,


Have you been able to move forward on your project?

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)