Central text alignment doesn't work
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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?
Labels:
- Labels:
-
TouchGFX
This discussion is locked. Please start a new topic to ask your question.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-02 2:13 PM
Problem solved!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-02 10:36 PM
Problem solved!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-04 7:28 PM
Hi EEuge,
When your question is answered, please close this topic by choosing Select as Best.
/Alexandre
