Problem description
The 'ellipsize' property for label is not working properly.
Steps to reproduce
Use the following code:
var win = Ti.UI.createWindow({
backgroundColor: 'red'
});
var label = Ti.UI.createLabel({
font: {
fontSize: '32dp'
},
width: '250dp',
height: '75dp',
ellipsize: true,
html: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
});
win.add(label);
win.open();
While I get ... in the end of second line on iOS, on Android the dots are not added.
Tested and confirmed on: 3.1.1GA Android GS3 4.1.1
This is a known bug in the Android platform . it does not work even with wordWrap set to true ( the default value of wordWrap is true ) .
Any news on this? I have this problem on Android 4.4.4 device with multiline text(single line works fine). Thanks
Closing ticket as this issue is expected Android behaviour.