[ANSWERED] Popup – how to show line breaks?

[ANSWERED] Popup – how to show line breaks?

BY 28 Feb 2017 Native Application Development

I know popup can handle long text well, by splitting into into multiple lines and providing scrolling support.

 

But the question is, let’s say, I have a few lines of text that I want to display “as is” (lines broken according to the line breaks). Assuming that I can ensure that each line will not exceed the available screen width, how could I do that? I have tried inserting “\n” into the text but it is ignored.

 

Simplified, I want to display 4 lines of

“Line1”

“Line2”

“Line3”

“Line4”

each on a separate line, inside a popup.

PS: I’m using the “circle” popup, if it makes a difference.

Clues appreciated.

Platform: Tizen 2.3.2, Gear S3.

 

Thank you.

 

 

Written by