cancel
Showing results for 
Search instead for 
Did you mean: 

Row Repeater Control with a long label

Former Member
0 Kudos

Hi All, I followed the example with the row repeater and I am using a label that has a long text, I want it to break into a new line when it overflows but all it does it overflow off the screen.  Does anyone know how to fix this problem.  I attached a screenshot of the problem!

Accepted Solutions (1)

Accepted Solutions (1)

surendra_pamidi
Contributor
0 Kudos

Hi Ahmed,

Set some width and set wrapping as true.

oLabel.setWidth('50px');

oLabel.setWrapping(true);

It will help you..

Or else use Textview.. it is suitable for it..

Regards,

Surendra.

Former Member
0 Kudos

Thanks surendra, setting both those properties fixed my problem

Answers (1)

Answers (1)

konstantin_anikeev
Active Contributor
0 Kudos

Hi,

if you want to use multiline items, why do you use label, not a TextView?

Regards

Konstantin