Display problem when changing text of a textArea
Hello,
Hello,
I'm currently developing an application on a STM32H753VT6 with touchGFX and I have an issue with the function resizeToCurrentTextWithAlignment(). Indeed when i'm changing the current text (I use a Wildcard) with another text smaller there is no problem. But when I'm changing this text again (same value) and an invalidate the textArea, the old text appears on my screen (R and E of the last word displayed "Residence") :
Any idea of why there are these kind of glitches ? Here is my code :
// first I update the wildcard buffer
Unicode::strncpy(textArea_residenceBuffer, s_current_command_splitted.c_first_line_a, MAX_NB_CHARS);
// then i resize the text area
textArea_residence.resizeToCurrentTextWithAlignment();
// finally I invalidate the area
textArea_residence.invalidate()Thanks,
Best regards,
AJT
