Skip to main content
Ebun.1
Senior
April 7, 2020
Solved

Dimensions cannot be changed

  • April 7, 2020
  • 3 replies
  • 948 views

Thank you for helping.

environment

TouchGFX Ver4.13.0

STM32F769I-Discovery template

Cannot change from 800 * 480 in Config-Display-Dimensions.

This has been changed in 4.12.0.

What should I do if I want to change the size?

Thank you.

This topic has been closed for replies.
Best answer by Martin KJELDSEN

Which version of the Application template are you using?

It does not make sense, in a way, to modify the display dimensions of a board that comes with a fixed display type, with fixed dimensions. The new ATs (V3) are now tied to values communicated from CubeMX. You can still change the dimensions manually if you want, by modifying the .part file in the root of your application next to the main .touchgfx project file (The interface to TouchGFX Generator/CubeMX). e.g. changing to 820 width for your application will cause the designer to ask for a reload and the dimensions will now be accordingly.

"AvailableResolutions" : [
 {
 "Width": 820,
 "Height": 480
 }
 ],

3 replies

Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
April 7, 2020

Which version of the Application template are you using?

It does not make sense, in a way, to modify the display dimensions of a board that comes with a fixed display type, with fixed dimensions. The new ATs (V3) are now tied to values communicated from CubeMX. You can still change the dimensions manually if you want, by modifying the .part file in the root of your application next to the main .touchgfx project file (The interface to TouchGFX Generator/CubeMX). e.g. changing to 820 width for your application will cause the designer to ask for a reload and the dimensions will now be accordingly.

"AvailableResolutions" : [
 {
 "Width": 820,
 "Height": 480
 }
 ],

Ebun.1
Ebun.1Author
Senior
April 7, 2020

Dear Martin

Thank you for helping.

Ver3.0.

I could change it in the .part file.

I am always grateful for your help.

Martin KJELDSEN
Principal III
April 7, 2020

Always happy to help :)