Is there a line or character limit to the ellipsize attribute?
Seems ellipsize - even on a very tall label - both 1. vertically centers the label text. 2. ellipsizes the text after only two lines
I would like the text to use up the entire vertical space before truncating.
Make sense? Any thoughts?
2 Answers
you will have to use wordwrap:false also with ellipsize: true.
I have the same issue on Android. I couldn't get ellipsize to work on a single line of text - works only after 2 lines. I am using Titanium 1.7.2 on Android 2.2, but I have seen this behaviour on 1.5/1.6 versions of Titanium too.
I believe you can align the text to the top by using verticalAlign: 'top'
while creating the label (or setting that property later). Worth a try.
Your Answer
Think you can help? Login to answer this question!