2021-01-02 10:18 AM
void SmallFlag_Container::SetLanguage(Bitmap icon, TEXTS lang)
{
FlagImage.setBitmap(icon);
LangText.setTypedText(TypedText(lang));
// LangText.resizeToCurrentTextWithAlignment();
LangText.invalidate();
}
In TouchGFX all is right
but in real life text is always aligned at left....
How to fix?
2021-01-02 12:01 PM
I use this
textArea1.setWildcard(textArea1Buffer);
textArea1.invalidate();
textArea1.resizeToCurrentTextWithAlignment();
textArea1.invalidate();
and Center need be set in texts.xls or screen Texts in designer
2021-01-02 02:13 PM
Problem solved!
2021-01-02 10:36 PM
Problem solved!
2021-01-04 07:28 PM
Hi EEuge,
When your question is answered, please close this topic by choosing Select as Best.
/Alexandre