26 Apr 2012 11:53 AM #1
Unanswered: Expandable text
28 Apr 2012 4:38 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Have a <div> with a set width and use overflow and such to get elipsis. Then on tap make the width of the <div> to be auto and back to a set width for toggling.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
30 Apr 2012 10:18 AM #3
<div style= "white-space: nowrap; height: 50px; width: 100%; overflow: hidden; text-overflow: ellipsis;">
I did't quiet understand the second part "Then on tap make the width of the <div> to be auto and back to a set width for toggling."
30 Apr 2012 1:08 PM #4
How do I make the more and less links so that they expand and collapse the text?