{ "id": "167228", "key": "TIMOB-24670", "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": "19572", "description": "Important fixes for 6.1.0", "name": "Release 6.1.1", "archived": false, "released": true, "releaseDate": "2017-06-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-06-23T01:31:47.000+0000", "created": "2017-04-21T03:02:52.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-29T20:39:39.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": [], "description": "lines in label doesn't work. \r\n\r\nHave example showing that 'maxLines' work, but not 'lines'\r\n\r\n*index.xml*\r\n\r\n \r\n \r\n\r\n\r\n", "attachment": [ { "id": "62081", "filename": "Screen Shot 2017-04-21 at 12.51.58.png", "author": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "created": "2017-04-21T03:01:38.000+0000", "size": 153912, "mimeType": "image/png" }, { "id": "62082", "filename": "Screen Shot 2017-04-21 at 12.52.28.png", "author": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "created": "2017-04-21T03:01:33.000+0000", "size": 236502, "mimeType": "image/png" } ], "flagged": false, "summary": "lines in label doesn't work on Android ", "creator": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "environment": "SDK 6.0.3\r\nStudio 4.8.1.201612050850\r\nMac OSX\r\nAndroid Emulator (intel based)", "comment": { "comments": [ { "id": "419395", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "Looks like a SDK issue.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2017-05-09T19:09:57.000+0000", "updated": "2017-05-09T19:09:57.000+0000" }, { "id": "422333", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (6.1.x): https://github.com/appcelerator/titanium_mobile/pull/9161", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-19T22:53:05.000+0000", "updated": "2017-06-19T22:53:05.000+0000" }, { "id": "422602", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed for 6.1.1.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-23T01:31:47.000+0000", "updated": "2017-06-23T01:31:47.000+0000" }, { "id": "422628", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/9175", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-23T16:17:43.000+0000", "updated": "2017-06-23T16:17:43.000+0000" }, { "id": "422678", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR passed for master.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-23T20:59:47.000+0000", "updated": "2017-06-23T20:59:47.000+0000" }, { "id": "422691", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\nTest info in the PR.\r\n\r\nClosing.\r\n\r\nStudio Ver: 4.9.0.201705302345\r\nSDK Ver: 6.2.0.v20170623140932, 6.1.1.v20170623141152\r\nOS Ver: 10.12.3\r\nXcode Ver: Xcode 8.3.3\r\nAppc NPM: 4.2.9\r\nAppc CLI: 6.2.2\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.9.11\r\nNode Ver: 6.10.1\r\nJava Ver: 1.8.0_101\r\nDevices: ⇨ google Pixel — Android 7.1.1\r\n⇨ google Nexus 5 — Android 6.0.1\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-23T22:11:17.000+0000", "updated": "2017-06-23T22:11:17.000+0000" }, { "id": "423026", "author": { "name": "chmiiller", "key": "chmiiller", "displayName": "Carlos Henrique Zinato", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Does it fix these weird 3 dots \"...\" in the middle of the text? I was having it a lot before! ", "updateAuthor": { "name": "chmiiller", "key": "chmiiller", "displayName": "Carlos Henrique Zinato", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-28T08:34:24.000+0000", "updated": "2017-06-28T08:34:24.000+0000" }, { "id": "423047", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~chmiiller], we haven't seen the particular issue you've mentioned. The issue we were seeing was that the \"lines\" property was being ignored. Or setting particular properties would reset prior label property settings, which was causing confusion.\r\n\r\nWith our newest changes, the \"lines\" property will now be respected and will only apply ellipsis \"...\" at the end of the text if it doesn't fit the number of line set. If you've never set the \"maxLines\" property, then the number applied to the \"lines\" property will act as the max lines where ellipsis will be applied. Also note that \"lines\" is partly intended to set the height of the labels based on the font's line height. So, if you set the line height to 3 and the text only has 1 line, the label will still be 3 lines high, which is by design.\r\n\r\nUnfortunately, we currently don't support applying ellipsis based on the \"height\" property, like how it works on iOS.\r\n\r\nAlso, if you set the \"ellipsize\" property to START or MIDDLE, it'll force the label into single-line mode. This is an Android limitation, but I also think it makes sense that it works that way anyways.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-28T16:24:48.000+0000", "updated": "2017-06-28T16:24:48.000+0000" }, { "id": "423201", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~chmiiller], this fix is available now via our 6.1.1 release. If you can give it a try and let us know whether or not it solves your ellipsis \"...\" issues then that would be great!\r\n https://www.appcelerator.com/blog/2017/06/ga-release-of-titanium-sdk-6-1-1-and-hyperloop-2-1-2/\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-29T20:39:39.000+0000", "updated": "2017-06-29T20:39:39.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }