Showing results for 
Search instead for 
Did you mean: 

X-CUBE-TOUCHGFX 4.23.1 is out!

ST Employee

TouchGFX 4.23.1 is now out.

Please follow this link to download it.

4.23.1 Release details:

  • Release date: January 22nd, 2024

  • New TouchGFX Designer Features:

  • Bugfixes in TouchGFX Designer:

    • Fixed TextArea lineheight in canvas not matching with rendered lineheight.
    • Fixed 'tgfx.exe generate' creating new 'touchgfx_backup' everytime it is executed.
    • Fixed opening properties for 'Grid Lines' and 'Labels' on graph widgets enabling and disabling them.
    • Fixed importing Custom Widgets with fonts causing issues.
  • New TouchGFX Core Features:

    • Added methods SwipeContainer::goNextPage() and SwipeContainer::goPreviousPage() to change page with an animation.
  • Bugfixes in TouchGFX Core:

    • Fixed issue where kerning data was sometimes missing for vector fonts.
    • Fixed issue where CacheableContainer could draw outside the invalidated area.
    • Drawing vector fonts on STM32U599/5A9 using GPU2D (NeoChrom) would result in poor anti-aliasing.
    • Fixed Keil library nemagfx_core_release.lib to use lcd class "LCDGPU2D_AXI" instead of "LCDGPU2D" for cortex M7 and M55.
  • Deprecated TouchGFX Core Features:

  • New TouchGFX Generator Features:
    • Support for TrustZone applications (STM32L5/STM32U5).
  • Bugfixes in TouchGFX Generator:
    • Having Video Decoding enabled on ThreadX applications would result in compilation errors when using MDKARM.


 4.23.0 Release details:

  • Release date: December 5th, 2023

  • New TouchGFX Designer Features:

    • Added ability to define typography as vector rendered font.
    • Added possibility to use the IntFlash option in the designer.
    • Added 'overshoot percentage' property on Scroll Wheel and Scroll List widgets.
    • Added WideTextAction property to Text Area widget.
  • Bugfixes in TouchGFX Designer:

    • Fixed validation not being run when adding a new language.
    • Fixed being able to move locked Custom Container Instances when loading a project.
    • Fixed 'Operating System' label being shown when importing a UI into a project.
    • Fixed generated '.svg.png' images with malformed format crashing the application.
    • Fixed wrong typography selected for wildcard buffer.
    • Fixed erroneous code generation when having two interactions and trigger on an interaction with 'Delay' as its action.
    • Fixed crash when modifying a copied Custom Container.
    • Fixed naming of copied and pasted Screens and Custom Containers not being assigned correct names.
    • Fixed being able to set simulator skin offset to a negative number.
    • Fixed being able to set Screen size to 0,0.
    • Fixed crash when closing a project.
    • Fixed canvas buffer size not being editable.
    • Fixed application behaving weirdly when project path includes whitespace characters.
    • Fixed File->Recent not having an upper limit, resulting in UI being unusable.
    • Fixed CircleProgress widget rendering start and end angle correctly on canvas.
    • Fixed image selector not showing correct images when switching between folders.
    • Fixed resource Text being deleted if a FlexButton widget used the resource Text.
    • Fixed Widgets disappearing when added to SwipeContainer pages.
    • Fixed a bug where copying and pasting widgets in widget tree, would reverse the order of the widgets
    • Fixed bug where newlines in wildcard texts were not allowed.
    • Fixed erroneous rendering in canvas when rotating text in Text Area and Button With Label Widget.
  • New TouchGFX Core Features:

    • Added Vector Font Rendering.
    • Added support for 32 bpp vector rendering.
    • Painters for 32bpp will now use hardware acceleration (when possible).
  • Bugfixes in TouchGFX Core:

    • Changed AbstractButtonContainer::getPressed to const.
    • Fixed a bug in AnimationTextureMapper that caused an assert when an animation was started repeatedly.
    • Fixed a bug in Unicode::snprintfFloats where #-formatter was ignored.
    • Fixed a bug where TextureMapper would not rotate bitmaps for rotated displays on GPU2D (NeoChrom) targets.
    • Missing VideoController::setVideoFrameRateCompensation() method has been added to the VideoController interface.
    • Added missing GPU2D (Neochrome) setup which caused a vector operation to fail if no other operations has been performed prior to it.
  • Deprecated TouchGFX Core Features:

    • VectorRenderer::setup(const Widget&, const Rect&) has been replaced by VectorRenderer::setup(const Rect&, const Rect&).                                                                                                                                                                    

Note : TouchGFX Designer 4.23.1 MUST be used with STM32CubeMX 6.10.0 or above (link to download STM32CubeMX).

Attention : If X-CUBE-TOUCHGFX 4.23.1 is not available in STM32CubeMX software yet, please navigate to "Help > Manage embedded software packages > STMicroelectronics > X-CUBE-TOUCHGFX". Then click on "From Local ..." and navigate to the file to install the new pack inside STM32CubeMX.


Please also check our Known Issues article.


Enjoy this new version ! 🙂

ST Software Developer | TouchGFX
Associate III

It was said in [this thread]( 4 years ago that there may be a more dynamic implementation of the Scroll Wheel container. Is that something that's still on the radar?

Associate II

I have one problem on TOUCH GFX 4.23.1 and Cube.MX 6.10.0.

I created a STM32F746G_DISCO project with GFX, and generate codes without any modifying.
Next, open STM32F746G_DISCO.ioc with Cube.MX, found following warning.


I searched new X-CUBE-TOUCHGFX package, but latest version in Cube.MX is 4.23.0.


How can I clear this waring?



Associate II

Scalable image does not work in external flash section. The image is not shown on TFT. When i select the Internal flash section, the image is shown on TFT. Or please share us if there are any solution about this problem. 

Please fix this problem. 

Here the exact same problem. Downloaded the latest version of CubeMx (6.10) and cannot find TouchGFX 4.23.1
How can this be solved?

I found a way to clear this warning, are following steps correct?

  1. Create project with Cube.MX, and add middleware X-CUBE-TOUCHGFX (4.23.0)
  2. Open TouchGFX/ApplicationTemplate.touchgfx.part with Touch GFX 4.23.1 Designer

Source codes in Middlewares/ST/touchgfx/frameworks/... have following header, and including TouchGFX 4.23.1 is completed with successfuly.

* Copyright (c) 2018(-2024) STMicroelectronics.
* All rights reserved.
* This file is part of the TouchGFX 4.23.1 distribution.
* This software is licensed under terms that can be found in the LICENSE file in
* the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.

However, when re-opening .ioc files with Cube.MX 6.10.0, I had same warning and the icon of X-CUBE-TOUCHGFX is 'can not edit' state:






Check the initial message of this thread:

Attention : If X-CUBE-TOUCHGFX 4.23.1 is not available in STM32CubeMX software yet, please navigate to "Help > Manage embedded software packages > STMicroelectronics > X-CUBE-TOUCHGFX". Then click on "From Local ..." and navigate to the file to install the new pack inside STM32CubeMX.

So you must manually install the latest TouchGFX version to the CubeMX. Also here discussed about same problem

hope this helps.



Thank you for your reply.
I tried your suggestion, and installed GFX 4.23.1 to Cube.MX successfully.