I noticed this behavior in an app I began developing with 1.8 when I upgraded to 2.0. I have a tableview that contains rows which each contain a label. The labels are of varying sizes and may span multiple lines. Sometimes, a label is truncated with ellipses (not the desired behavior). If a few more characters are added, the label displays the entire text (as I would expect) by adding an additional line.
The label does not expand to fill two lines and is thus truncated with ellipses.
BUT, if I change the text of the label and make it SLIGHTLY longer to "I am a label that contains a lot of text.", the label correctly expands to fill two lines and display all of the text.
Label should expand if allowed.
1. Mobile Project
2. Add this to app.js
It should be noted that labels placed directly in a view (not in a tableview) correctly expand to the correct height all of the time when height is set to Ti.UI.SIZE. The unusual and undesired behavior exists only when the label is placed in a tableview.
(Also, setting the height of the tableviewrow does not effect how the label appears.)