2022-03-23 01:17 AM
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.
2022-03-23 05:42 AM
Hi JureL,
Thank you very much for the thorough description. This is for sure a bug that we need to correct as soon as possible. Expect a patch release soon (within a week or so).