Skip to Content
author's profile photo Former Member
Former Member

Row Repeater Control with a long label

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!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jan 07, 2014 at 07:04 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 07, 2014 at 12:35 AM

    Hi,

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

    Regards

    Konstantin

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.