{ "id": "114913", "key": "TIMOB-13981", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15499", "description": "2013 Sprint 13 API", "name": "2013 Sprint 13 API", "archived": true, "released": true, "releaseDate": "2013-07-01" }, { "id": "15111", "description": "2013 Sprint 13", "name": "2013 Sprint 13", "archived": true, "released": true, "releaseDate": "2013-07-01" } ], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2013-06-26T07:39:36.000+0000", "created": "2013-05-24T14:40:43.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ellipsis", "label", "parity" ], "versions": [], "issuelinks": [ { "id": "29807", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "116404", "key": "AC-2518", "fields": { "summary": "Android: Multiple line in label does not show ellipsis", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2017-04-10T23:46:51.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h2. Problem description\r\nThe 'ellipsize' property for label is not working properly.\r\n\r\nh2. Steps to reproduce\r\nUse the following code:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'red'\r\n});\r\n\r\nvar label = Ti.UI.createLabel({\r\n\tfont: {\r\n\t\tfontSize: '32dp'\r\n\t},\r\n\twidth: '250dp',\r\n\theight: '75dp',\r\n\tellipsize: true,\r\n\thtml: \"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.\"\r\n});\r\nwin.add(label);\r\n\r\nwin.open();\r\n{code}\r\n\r\nWhile I get ... in the end of second line on iOS, on Android the dots are not added.", "attachment": [], "flagged": false, "summary": "Android: ellipsize (...) does not appear on Ti.UI.Label", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Android 4.0\r\nAndroid 4.1\r\nSDK 3.0\r\nSDK 3.1", "comment": { "comments": [ { "id": "259412", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on:\n\n 3.1.1GA\n Android GS3 4.1.1", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-25T19:44:41.000+0000", "updated": "2013-06-25T19:44:41.000+0000" }, { "id": "259475", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "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 ) . ", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-06-26T07:39:36.000+0000", "updated": "2013-06-26T07:39:36.000+0000" }, { "id": "369177", "author": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "body": "Any news on this? I have this problem on Android 4.4.4 device with multiline text(single line works fine).\r\nThanks", "updateAuthor": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "created": "2015-11-06T08:59:16.000+0000", "updated": "2015-11-06T08:59:16.000+0000" }, { "id": "417156", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as this issue is expected Android behaviour.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-04-10T23:46:51.000+0000", "updated": "2017-04-10T23:46:51.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }