Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (ellipsize)
Viewing all articles
Browse latest Browse all 15

Multiline labels get ellipsized on iOS, no matter what I do

$
0
0

I have a few places where I need multiline text, and a WebView would be overkill. I'm putting my labels into a view with 'vertical' layout, and am specifying their left, top, width and font properties.

for example:

content.add( Ti.UI.createLabel({
    textid: "IntroText0",
    top: PAD/2,
    height: 'auto',
    left: PAD,
    width: WIDTH - 2*PAD,
    height: Ti.UI.SIZE,
    font: { fontSize: 12, fontWeight: 'normal' },
    color: '#fff',
    wordWrap: true,
    ellipsize: false
}));
What I see on screen is all of the text, but the last line is cut off, and replaced with "..." (ellipses)

Am I doing something incorrectly?

I'm using SDK 2.0.1 and testing in iOS 5.


Viewing all articles
Browse latest Browse all 15

Trending Articles