{ "id": "167974", "key": "TIMOB-24742", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-05-31T09:10:06.000+0000", "created": "2017-05-29T11:17:35.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "ellipsize", "label", "regression" ], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "issuelinks": [ { "id": "54984", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "164189", "key": "TIMOB-24071", "fields": { "summary": "iOS: Expose Ti.UI.Label maxLines (Parity)", "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": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-06-01T18:03:43.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Reported via [~rdperottoni] on Slack:\r\n{quote}\r\nAll my multi line labels on iOS are now with ellipsized and I need to specify `maxLines` for it to go back to normal. Anyone else with this issue ? [...] I believe this should be marked as a breaking update since now I'll have to update all my labels to have a set amount of lines. Also, the documentation should be updated since it says this property is not available on iOS.\r\n{quote}\r\nIt was likely caused by TIMOB-24071, the expected behavior would be that the developer does not need to specify a {{maxLines}} property to display the label. Regarding the docs, it [works for me|http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Label-property-maxLines] and displays the correct since/platform keys.", "attachment": [ { "id": "62295", "filename": "6_0_X-50.png", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-30T20:44:20.000+0000", "size": 30078, "mimeType": "image/png" }, { "id": "62296", "filename": "6_0_X-size.png", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-30T20:44:21.000+0000", "size": 35270, "mimeType": "image/png" }, { "id": "62297", "filename": "6_1_X-50.png", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-30T20:44:21.000+0000", "size": 30607, "mimeType": "image/png" }, { "id": "62298", "filename": "6_1_X-size.png", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-30T20:44:21.000+0000", "size": 35758, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Ti.UI.Label are ellipsized by default, causing layout issues (Regression)", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "420641", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~rdperottoni] I am unable to reproduce this issue with the following demo-code (both {{height: 50}} and auto-sized):\r\n{code:js}\r\n\r\nvar win = Ti.UI.createWindow({backgroundColor: \"#fff\"});\r\nvar label = Ti.UI.createLabel({\r\n text: 'kdljkdl asdajdas ldsjkld ajsdjasdsjakdasjkldajskdjklsadjklsadjklsadjklsadjklsajdkadsjkasjdkl',\r\n width: 200,\r\n\theight: 50,\r\n backgroundColor: 'red'\r\n})\r\n\r\nwin.add(label);\r\nwin.open();\r\n{code}\r\nSee the 4 screens attached (6_1_X and 6_0_X with a specified height and auto-sized height). Both look like the same between the different SDK versions. If you can, please paste a small test-case here that reproduces the issue, thank you!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-30T20:43:49.000+0000", "updated": "2017-05-30T20:43:56.000+0000" }, { "id": "420667", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Resolving as {{Invalid}} as communicated with [~rdperottoni]. It was a global layout setting that caused this issue.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-31T09:10:06.000+0000", "updated": "2017-05-31T09:10:06.000+0000" }, { "id": "420792", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as such.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-01T18:03:38.000+0000", "updated": "2017-06-01T18:03:38.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }