Associate III
March 23, 2022
Question
TouchGFX Designer 4.19 FlexButton bug
- March 23, 2022
- 1 reply
- 1178 views
Hey @Martin KJELDSEN ,
today I updated touchgfx in my project from version 4.18.1 to 4.19. As soon as I updated, regenerated and compiled my project I noticed that all of my wildcard texts in flexbuttons are missing:
Example code:
#include <gui/screen1_screen/Screen1View.hpp>
Screen1View::Screen1View()
{
}
void Screen1View::setupScreen()
{
Screen1ViewBase::setupScreen();
Unicode::snprintf(flexButton1Buffer, FLEXBUTTON1_SIZE, "HELLO");
}
void Screen1View::tearDownScreen()
{
Screen1ViewBase::tearDownScreen();
}Result 4.18.1:
Result 4.19:
I compared generated files (v4.19 vs. v4.18.1) and found out that new touchgfx designer does not generate line setWildcardTextBuffer (also line for sample value snprintf is missing):
Further more I noticed that color setting for flexButton text is gone in designer:

You can find application examples in zip attachment.
