In the designer tool under the localization edit section you have a button 
at the bottom that allows you to edit multiline text. Just add the line 
breaks and the string will have them.

SpanLabel and TextArea respect line breaks.

TextArea doesn't implicitly fetch from the bundle though. For it you will 
need to use the UIManager.localize method. The logic is that you want to 
localize labels but text components include user input which isn't localized

On Sunday, August 16, 2020 at 8:55:12 PM UTC+3 P5music wrote:

> I want a screen in my app that display instructions.
> I created the text and put it in a string. That string is in the 
> localization bundle. It has many escaped \n because its text is multiline 
> (it's the same string of the strings resources file in the original Android 
> project of this iOS port).
> I see that the escaped characters are written as they are, that is, I see 
> many \n in the text and it's not multiline as it is intended to be read by 
> the user.
> I used Label, TextView with same result.TextArea shows nothing.
> Thanks in advance
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a179af18-a862-42ec-a39b-6976f22e9b8bn%40googlegroups.com.

Reply via email to