{ "id": "166919", "key": "TIMOB-24554", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-04-10T10:03:25.000+0000", "created": "2017-04-04T02:02:02.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "19275", "description": "Patch release for 6.0.x regressions or important fixes", "name": "Release 6.0.3", "archived": false, "released": true, "releaseDate": "2017-03-22" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-04-24T17:24:46.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Setting {{Ti.UI.FILL}} for {{Label}} resizes Label incorrectly.\r\n\r\n*Code to reproduce:*\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'green'\r\n }),\r\n width_fill_label = Ti.UI.createLabel({\r\n text: 'I have a width of Ti.UI.FILL',\r\n textAlign: Titanium.UI.TEXT_ALIGNMENT_CENTER,\r\n width: Ti.UI.FILL,\r\n color: 'white',\r\n backgroundColor: 'purple',\r\n height: Ti.UI.SIZE,\r\n });\r\n\r\nwin.add(width_fill_label);\r\nwin.open();\r\n{code}\r\n\r\n*expected:*\r\n!expected.png|thumbnail!\r\n\r\n*actual:*\r\n!actual.png|thumbnail!", "attachment": [ { "id": "61959", "filename": "actual.png", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-04-04T02:00:58.000+0000", "size": 3735, "mimeType": "image/png" }, { "id": "61960", "filename": "expected.png", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-04-04T02:00:41.000+0000", "size": 3771, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows: Ti.UI.FILL resizes Label incorrectly", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 883, "state": "closed", "name": "2017 Sprint 09 SDK", "startDate": "2017-04-23T21:46:54.309Z", "endDate": "2017-05-07T21:46:00.000Z", "completeDate": "2017-05-08T00:25:44.276Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "416708", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/966", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-04-04T02:09:12.000+0000", "updated": "2017-04-04T02:09:12.000+0000" }, { "id": "417923", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix in 6.1.0.v20170421082637. Test and other information can be found at https://github.com/appcelerator/titanium_mobile_windows/pull/966. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-04-24T17:24:41.000+0000", "updated": "2017-04-24T17:24:41.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }