{ "id": "78103", "key": "TIMOB-4743", "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": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-18T16:15:08.000+0000", "created": "2011-07-21T17:09:55.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-port" ], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-08-13T16:23:02.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": "Setting the center.y coordinate on a view is ignored and it picks up the x instead\r\n\r\nh3. The Code\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#55ff55'\r\n});\r\n \r\nvar red = Ti.UI.createView({\r\n width: 100,\r\n height: 150,\r\n top: 100,\r\n backgroundColor: 'red'\r\n});\r\nwin.add(red);\r\n \r\nvar blue = Ti.UI.createView({\r\n width: 10,\r\n height: 10,\r\n center: {x: '50%', y: '100%'},\r\n backgroundColor: 'blue'\r\n});\r\nred.add(blue);\r\n \r\nwin.open();\r\n{code}\r\n\r\nh3. The Problem\r\nThe blue view (dot) should be at the bottom of the red view\r\n\r\nh3. QA forum link\r\nhttp://developer.appcelerator.com/question/122903/bugreport-viewcentery-with-percentage-broken", "attachment": [], "flagged": false, "summary": "iOS: Center Y in views is broken", "creator": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "195358", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested with 2.0.1GA2 on the iOS simulator, unable to reproduce the issue. Ticket closed.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-05-18T16:15:08.000+0000", "updated": "2012-05-18T16:15:08.000+0000" }, { "id": "214215", "author": { "name": "rumbrasas", "key": "rumbrasas", "displayName": "Rima Umbrasas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with \r\nmobile sdk-2.2.0.v20120810080115\r\nTitanium Studio, build: 2.1.1.201207271312\r\nDevice:\r\nIpad 5.1", "updateAuthor": { "name": "rumbrasas", "key": "rumbrasas", "displayName": "Rima Umbrasas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-13T16:22:51.000+0000", "updated": "2012-08-13T16:22:51.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }