Showing results for 
Search instead for 
Did you mean: 

TouchArea of FlexButton


Hi all,

I am facing an issue with TouchGFX Gui. It seems that the view area of a Flex Button is not the same as its touch area. Maybe anyone have an idea what is going wrong or could give a hint for further evaluation.

I am using TouchGFX 4.18.0 Gui on an STM32F745 platform or I run the Simulator on Windows. But the issue apppears on both platforms.

I have a screen with a full size Button in the background (green marked). In the Front (top level) I have a container with 4 Flexbuttons (blue with black border) and a little space between them (yellow)

0693W00000aJ25UQAS.pngIn Generell it works. Please watch the mouse pointer in the follwoing pictures, for the Click/Touchpoint.

When I push the backgound Button, the button turns red, as expected.

0693W00000aJ25PQAS.pngWhen I push one of the front buttons the corresponding button turns red, as expected.0693W00000aJ25eQAC.png 

But there are areas inside the front button, were the background button is pressed instead of the front buttons. Watch the touch point in the next image. I pushed the Front button, but the backgound button is hit, for any reason.

0693W00000aJ25jQAC.pngBut there is also an area outside the front button that hit the front button instead of the backgound button.


But it is not symetric. Do I push the backgound button on the other side of the front button with the same distance, it works as expected.


It seems to me that the front button touch area looks like the red marked areas in the next image. Strangely enough, this area is different for the first button than for the others. 0693W00000aJ25LQAS.pngThank in advance for your support.

ST Employee


That is definitely strange. Could you share what your projects looks like in TouchGFX Designer (the placement and size of your container for example and of your flex buttons). Or maybe just share your project so that we can replicate the issue, I tried quickly a project on my side and did not face the error. Can you upgrade your project to TouchGFX Designer 4.21.3 or are you "forced" to use TouchGFX 4.18 ?



Hi Romain,

thanks for your quick answer.

Unfortunately I am not allowed to share the project. I need to strip the project. But this will take a while because of higher priority tasks. I think in 3 weeks, hopefully.

The element above belongs to a complex screen. Several container stacked togehter, There are also 3 modal windows. But the SystemSwitch Buttons are the very first in Touch GFX configuration. So I assume that nothing overlays these buttons .

Best regards