Text Wrap

2 messages - 737 views

I am using XML file for user interface.like text  can i wrap data in the text.please help me

Hi,

You must use "<textarea>" control for wrapped.  And you can use "<b>, <u>, <i>...."  in text area for format.

 

<textarea id="txtContent" styled="true"></textarea>

 

after

 TextArea txtExtra = (TextArea) Kuix.getCanvas().getDesktop().getCurrentScreen().getWidget("txtExtra");

 txtExtra.setText("kadir <b><u>AKIN</u></b>, <u>test</u> project");