How to make Label automatic change line/wrap text when other Label wrap text on Kony?

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hi, i want to ask again about how to make Label wrap text automatic when other Label wrap text on Kony. I just want to make tidy my display.

So, for example i have 2 label:

labelA: abcde

labelB: xyz

labelB is under labelA.

labelA and labelB

And then labelA wrap text become:

"abcde

fgh"

so my display of labelB become "strikethrough" in labelA. My labelB is not wrap text :(

How can I do that sir?

Thank you so much for your help!

Sorry I think not strikethourgh but the labelB are stacked by labelA.

Sorry for my bad english.

Hello,

Lable has wrapping property, this will allow to do Word wrap and character wrap. Please refer the doc link for more details.

http://docs.kony.com/konylibrary/visualizer/viz_widget_prog_guide/Default.htm#Label_Properties.htm#wrapping%3FTocPath%3DReference%7CLabel%2520Widget%7CProperties%7C_____37

To the label set some static width and preferred height. In this case your label will auto grow based on the content.

Hi.

Thank you for reply.

Wrapping property in that link only available for iOS(Iphone). Is wrapping property available for Android?

Hi,

Character wrapping is not supported in native android , it is limitation in native android . The label behavior when we have more character and we do not have enough space(in width) then the characters will get wrap into next line.

Hi.

Oh i see. So, automatic text wrapping between 2 labels is not supported on android.

Thank you very much for explanation.