Long labels don't truncate with a "..." on Andorid

You must Login before you can answer or comment on any questions.

I am setting the label's text from DB, and my label has a fixed width and height. On iPhone and iPad, this works fine (if label gets too long, it will show a "..." to mean that more text to follow but not shown), however it doesn't work on Android. Any idea how would I do that?

I searched the Q&A but couldn't find any working solution.

var row2_lbl= Ti.UI.createLabel({
    text : rows.fieldByName('objective_desc'),
    color : 'white',
    font : {fontSize:RowCol3TextSize},
    height : RowCol3TextHeight,
    width : RowCol3TextWidth,
    top : RowCol3TextTop,
    left : RowCol3TextLeft,
    textAlign : 'left'
});

— asked 12 months ago by Sufian Babri
1 Comment
  • hi,

    i also test it and face same problem...

    — commented 12 months ago by Mitul Bhalia

1 Answer

Your Answer

Think you can help? Login to answer this question!