Page 1 of 1

Label truncated

Posted: Sun Jan 06, 2013 12:02 pm
by Renjith V

Labels does not render the whole text inside a list. I am using a REST service to populate a list which contains a label field. I noticed that label fields which are inside a listitem does not show the complete contents and rather adds ... and shows only a single line. Anyway to avoid this.


Label truncated

Posted: Sun Jan 06, 2013 6:01 pm
by maxkatz

Done by jQuery Mobile when text doesn't fit.


Label truncated

Posted: Sun Jan 06, 2013 6:04 pm
by Renjith V

Anyway to avoid that or is there a better control that I can use?


Label truncated

Posted: Sun Jan 06, 2013 6:12 pm
by maxkatz

I'm not aware of such control.


Label truncated

Posted: Sun Jan 13, 2013 8:36 am
by Renjith V

Ok, my aim is to show a long read only text. Which control can I use then? Can I make the text area readonly?


Label truncated

Posted: Sun Jan 13, 2013 6:02 pm
by maxkatz

Use a Label component.

Yes, you can make a text area read only.

You can do anything the HTML5 elements and jQuery Mobile components will allow you to do. The best way is to read the docs for those elements.