Problem Description
When using ellipsize on a label in mobileweb the text is truncated but the ellipsis is not added.
Test Case
Run attached app.js or paste following code into app.js:
var win1 = Titanium.UI.createWindow({
backgroundColor:'#fff'
});
win1.add(Ti.UI.createLabel({
top: 200,
width: "40%",
text: "Collaboratively administrate empowered markets via plug-and-play networks. Dynamically procrastinate B2C users after installed base benefits. Dramatically visualize customer directed convergence without revolutionary ROI.",
ellipsize: true,
wordWrap: false
}));
win1.open();
Expected results
Text is truncated and ellipsis added to label.
Actual results
Text is truncated no ellipsis added
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/6763 4_0_X pull request: https://github.com/appcelerator/titanium_mobile/pull/6764
PR merged.
Verified the fix. Works as expected. Environment: Appc Studio : 4.1.0.201505071004 Ti SDK : 4.1.0.v20150605164428, 4.0.1.v20150529150210 Ti CLI : 4.0.1 Alloy : 1.6.0 MAC Yosemite : 10.10.3 Appc npm : 4.0.0 Appc CLI : 4.0.2-rc2 Node: v0.10.37 Device - Android 5.0.1