cancel
Showing results for 
Search instead for 
Did you mean: 

Text wrapping in TextView

Former Member
0 Kudos

Hi All

I am displaying more that 2000 character in a Text view

i have set property Wrapping as true

but still it is not getting wrapped

SP Level is sp18.

Thanks

Karthi D.

Accepted Solutions (1)

Accepted Solutions (1)

Sharathmg
Active Contributor
0 Kudos

Hello Karthik,

Once, you set the text view property "wrapping" to true, how does the data appear in the view?

Also, use Text Edit to display large data. You set the read-only property to false to provide the same feature as text view.

Hope it helps.

Regards,

Sharath

Answers (2)

Answers (2)

susmita_panigrahi
Active Participant
0 Kudos

Hi

You can select TextEdit UI element and bind the property " value" of this UI element to a context attribute.

Thanks

Susmita

Former Member
0 Kudos

Hi,

Try changing the layout property of the TextView UI element to paragraph. Also set some width to the TextView or to its container so as to limit the line length.

Regards,

Satyajit

Former Member
0 Kudos

still after setting the layout property to paragraph still it is not getting wrapped

Former Member
0 Kudos

Hi karhti,

Try this.

1.Set the layout property of the UI element container to be GridLayout or MatrixLayout.

2.Enable the "wrapping" property of Label or TextView to "true"

3.Set the "width" property of the UI Element's(label/TV) Layout data to <integer>px eg: 100px

3.Build and Deploy

Regards,

srikanth