setWideTextAction() not having desired effect
Hi,
I try to use setWideTextAction() to wrap my long text into new lines as it goes over screen.
However, setWideTextAction does not seem to do anything.
What I have done:
-disable Auto-size and set text area size within screen limits (to generate code below)
-set Ellipsis character for this typography to *
-use code:
textPopup.setPosition(29, 0, 180, 160);
textPopup.setColor(touchgfx::Color::getColorFrom24BitRGB(207, 207, 207));
textPopup.setLinespacing(0);
textPopup.setTypedText(touchgfx::TypedText(T_SINGLEUSEID228));
textPopup.setWideTextAction(WIDE_TEXT_CHARWRAP);
textPopup.invalidate();
textPopup.resizeToCurrentText();
textPopup.resizeHeightToCurrentText();
textPopup.invalidate();There is no ellipsis character, no newlines, the text just prints over the borders like it was not there.
How to use this?
Thanks!
