{ "id": "100816", "key": "TIMOB-10856", "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": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14127", "description": "Sprint 2012-19 API", "name": "Sprint 2012-19 API", "archived": true, "released": true, "releaseDate": "2012-09-24" }, { "id": "14271", "description": "2012 Sprint 19", "name": "2012 Sprint 19", "archived": true, "released": true, "releaseDate": "2012-09-24" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-09-14T15:38:17.000+0000", "created": "2012-09-11T16:30:57.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "layout", "qe-testadded" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "20889", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "100379", "key": "TIMOB-10839", "fields": { "summary": "iOS: Labels are cut off at bottom in vertical layout", "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": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-09-19T10:39:17.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": "{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'white',\r\n layout:'vertical'\r\n})\r\nvar view1 = Ti.UI.createView({\r\n top: 100,\r\n left:5,\r\n right: 5,\r\n bottom: 100,\r\n backgroundColor:'red'\r\n});\r\nwin.add(view1);\r\nwin.open();\r\n\r\nview1.addEventListener('click', function(){\r\n\tTi.API.info('----------------' + view1.size.height)\r\n})\r\n\r\n{code}\r\n\r\nExpected Behavior: \r\nThe height of the red view should be the height of the screen minus the top and bottom values.\r\n\r\nActual:\r\nThe height of the red view is 460\r\n", "attachment": [], "flagged": false, "summary": "iOS: Implicit height calculation in vertical layouts are incorrect", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "218733", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending https://github.com/appcelerator/titanium_mobile/pull/2928", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-12T15:51:51.000+0000", "updated": "2012-09-12T15:51:51.000+0000" }, { "id": "219856", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport PR https://github.com/appcelerator/titanium_mobile/pull/3001", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-19T16:15:33.000+0000", "updated": "2012-09-19T16:15:33.000+0000" }, { "id": "220220", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix on:\r\nMAC OSX 10.8.1\r\nTitanium studio : 2.1.2.201208301612\r\nSDK version : 3.0.0.v20120921144915\r\nxcode 4.5\r\nbuilt with iOS6 SDK on Ipad 3 running iOS6 & on Iphone simulator.\r\n", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-21T16:00:08.000+0000", "updated": "2012-09-21T16:12:43.000+0000" }, { "id": "220223", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and verified on: \r\nOS: Mac OS X Lion 10.7.4 \r\nTitanium Studio, build: 2.1.2.201208301612\r\nTitanium SDK, build: 2.1.3.v20120921141611\r\nDevice: iPhone 4S (6.0.GM)\r\n\r\nThe height of the red view is equal to the height of the screen minus the top and bottom values.", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-21T16:10:59.000+0000", "updated": "2012-09-21T16:10:59.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }