navalsaini
24 Jul 2012, 2:22 AM
No ellipsis seen in multiline component.
I dont know the exact number of characters that would fit within the label, and therefore the function Ext.util.Format.ellipsis isn't of much use to me.
Kindly suggest, what do I need to do to generate an ellipsis?
{
xtype: 'label',
margin: 10,
height: 85,
padding: '0 0 10 0',
style: 'font-size:80%; text-overflow: ellipsis; overflow: hidden; white-space: wrap;', html: 'MaIme volor maxim re, ang natur. Ni quam aut veligende veet ditatas adio. Itatem. Nempos dolor seque peri
t rem faccatiures explistibus maionecus exerferatur, suntia quis arum nonem rem faccatiures explistibus maionecus exerferatur, sunti
a quis arum nonem.',
},
Thanks,
Naval
I dont know the exact number of characters that would fit within the label, and therefore the function Ext.util.Format.ellipsis isn't of much use to me.
Kindly suggest, what do I need to do to generate an ellipsis?
{
xtype: 'label',
margin: 10,
height: 85,
padding: '0 0 10 0',
style: 'font-size:80%; text-overflow: ellipsis; overflow: hidden; white-space: wrap;', html: 'MaIme volor maxim re, ang natur. Ni quam aut veligende veet ditatas adio. Itatem. Nempos dolor seque peri
t rem faccatiures explistibus maionecus exerferatur, suntia quis arum nonem rem faccatiures explistibus maionecus exerferatur, sunti
a quis arum nonem.',
},
Thanks,
Naval