{ "id": "116404", "key": "AC-2518", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-06-25T19:41:40.000+0000", "created": "2013-06-25T07:59:05.000+0000", "labels": [ "android", "ellipsis", "label" ], "versions": [], "issuelinks": [ { "id": "29807", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "114913", "key": "TIMOB-13981", "fields": { "summary": "Android: ellipsize (...) does not appear on Ti.UI.Label", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:34.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When executing the below code, it does not display the ellipsis at the end of 2nd line. This issue is happening in Android.\r\n\r\n{code}\r\nvar win = Titanium.UI.createWindow({\r\n exitOnClose : true,\r\n navBarHidden : true,\r\n backgroundColor : 'black'\r\n});\r\n \r\nvar label = Titanium.UI.createLabel({\r\n left : '2%',\r\n width : '33%',\r\n height : '33dip',\r\n color : 'white',\r\n ellipsize : true,\r\n wordWrap : true,\r\n font: {\r\n fontFamily:'Roboto',\r\n fontSize: '13dip',\r\n fontStyle: 'regular',\r\n fontWeight: 'normal'\r\n },\r\n text : 'The quick brown fox jumps over the hungry lazy dog. The quick brown fox jumps over the hungry lazy dog.',\r\n borderColor : 'red',\r\n borderWidth : 1\r\n});\r\n \r\nwin.add(label);\r\n \r\nwin.open();\r\n{code}\r\n\r\nNote:\r\nThe ellipsis is coming on Android 2.3.3. But once the code is executed on Android 4.0 and higher, the ellipsis is not getting displayed.", "attachment": [], "flagged": false, "summary": "Android: Multiple line in label does not show ellipsis", "creator": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "environment": "Android Version: 4.2.2\r\nDevice : Samsung Galaxy S2\r\nSDK Version : 3.1.0GA\r\nOS : Windows 7", "comment": { "comments": [ { "id": "259343", "author": { "name": "dharmik", "key": "dharmik", "displayName": "Dharmik Patel", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Soumya Kanti Kar, \n you correct that is not working on Android 4.0 and higher. I am also faceing same problem.", "updateAuthor": { "name": "dharmik", "key": "dharmik", "displayName": "Dharmik Patel", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-06-25T10:48:07.000+0000", "updated": "2013-06-25T10:48:07.000+0000" }, { "id": "259411", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-25T19:43:19.000+0000", "updated": "2013-06-25T19:43:19.000+0000" }, { "id": "281030", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "DUP issue. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-24T22:30:03.000+0000", "updated": "2013-11-24T22:30:03.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }