{ "id": "168575", "key": "TIMOB-24883", "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": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-07-27T13:18:56.000+0000", "created": "2017-06-23T04:06:19.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "issuelinks": [ { "id": "55273", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "168423", "key": "TIMOB-24828", "fields": { "summary": "Windows: Unexpected layout for second UI element in a View", "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": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-14T11:13:42.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": "When parent {{View}} has border, child Views calculates its position and size based on parent border.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow(),\r\n view0 = Ti.UI.createView({\r\n top: 20,\r\n bottom: 20,\r\n left: 20,\r\n right: 20,\r\n borderColor: 'blue',\r\n borderWidth: 1,\r\n backgroundColor: 'white'\r\n }),\r\n view = Ti.UI.createView({\r\n top: 10,\r\n bottom: 10,\r\n left: 10,\r\n right: 10,\r\n borderColor: 'green',\r\n borderWidth: 10,\r\n backgroundColor: 'red'\r\n });\r\nview.add(view0);\r\n\r\nwin.add(view);\r\nwin.open();\r\n{code}\r\n\r\n*Actual*\r\n !actual.png|thumbnail! \r\n\r\n*Expected (iOS)*\r\n\r\n !expected.png|thumbnail! \r\n", "attachment": [ { "id": "62728", "filename": "actual.png", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-23T04:05:56.000+0000", "size": 10990, "mimeType": "image/png" }, { "id": "62727", "filename": "expected.png", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-23T04:05:55.000+0000", "size": 3788, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows: Incorrect child view size when parent view has border", "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": 925, "state": "closed", "name": "2017 Sprint 15 SDK", "startDate": "2017-07-16T14:40:47.191Z", "endDate": "2017-07-30T14:40:00.000Z", "completeDate": "2017-07-31T16:15:09.335Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "423111", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1025", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-29T03:36:07.000+0000", "updated": "2017-06-29T03:36:07.000+0000" }, { "id": "424885", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "6_2_X backport merged in https://github.com/appcelerator/titanium_mobile_windows/pull/1048 \r\n\r\nAwaiting the build before closing", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-07-27T13:18:56.000+0000", "updated": "2017-07-27T13:18:56.000+0000" }, { "id": "426606", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified in 6.2.0.v20170811022027", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-08-14T11:13:42.000+0000", "updated": "2017-08-14T11:13:42.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }