1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    29
    Answers
    4
    Vote Rating
    0
    JeanPlouin is on a distinguished road

      0  

    Default Answered: using Ext.util.TextMetrics ?

    Answered: using Ext.util.TextMetrics ?


    Hi all,

    i need to overflow ellipsis the last line of a multiline text that i display in a dataview item (via itemTpl, not with useComponents).

    What would be the best way to do this ?

    I guessed Ext's TextMetrics would be perfect in my situation, but i'm having some misunderstandings on how/if i could make it work with sencha touch 2...

    Any advice would be of great help ! thanks

    Jean

  2. just a few lines to change in fact ! Nicely made it work with sencha touch 2.0.1, let me know if anyone is interested.

    Jean

  3. #2
    Sencha User
    Join Date
    Nov 2011
    Posts
    29
    Answers
    4
    Vote Rating
    0
    JeanPlouin is on a distinguished road

      0  

    Default


    just a few lines to change in fact ! Nicely made it work with sencha touch 2.0.1, let me know if anyone is interested.

    Jean