{ "id": "106544", "key": "TIMOB-13399", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-08-09T09:24:04.000+0000", "created": "2012-12-14T17:18:14.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "issuelinks": [], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-08-09T09:24:04.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": "2 pixels are cropped off of the navigation bar when using UI.iPhone.NavigationGroup. Please see attached for expected outcome, achieved using UI.TabGroup, and the actual outcome, when using UI.iPhone.NavigationGroup.\r\n\r\n*app.js: actual_navigationbar_implementation*\r\n{code:javascript}\r\nvar win1 = Titanium.UI.createWindow({\r\n\tbackgroundColor : '#fff',\r\n\ttitle : 'Test'\r\n});\r\n\r\nvar nav = Titanium.UI.iPhone.createNavigationGroup({\r\n\twindow : win1\r\n});\r\n\r\nvar win = Titanium.UI.createWindow();\r\nwin.add(nav);\r\nwin.open();\r\n{code}\r\n\r\n*app.js: expected_tabbar_implementation*\r\n{code:javascript}\r\nvar tabGroup = Ti.UI.createTabGroup();\r\n\r\nvar win = Titanium.UI.createWindow({\r\n\tbackgroundColor : '#fff',\r\n\ttitle : 'Test',\r\n\ttabBarHidden : true\r\n});\r\n\r\nvar tab = Ti.UI.createTab({\r\n\ttitle : '',\r\n\twindow : win\r\n});\r\n\r\ntabGroup.addTab(tab);\r\ntabGroup.open();\r\n{code}", "attachment": [ { "id": "34184", "filename": "actual_navigationbar_implementation.png", "author": { "name": "joshuabaker", "key": "joshuabaker", "displayName": "Josh Baker", "active": false, "timeZone": "Europe/London" }, "created": "2012-12-14T17:18:14.000+0000", "size": 42789, "mimeType": "image/png" }, { "id": "34185", "filename": "expected_tabbar_implementation.png", "author": { "name": "joshuabaker", "key": "joshuabaker", "displayName": "Josh Baker", "active": false, "timeZone": "Europe/London" }, "created": "2012-12-14T17:18:14.000+0000", "size": 43022, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: UI.iPhone.NavigationGroup cropping navigation bar by 2 pixels", "creator": { "name": "joshuabaker", "key": "joshuabaker", "displayName": "Josh Baker", "active": false, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "joshuabaker", "key": "joshuabaker", "displayName": "Josh Baker", "active": false, "timeZone": "Europe/London" }, "environment": null, "comment": { "comments": [ { "id": "245907", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed with 3.0.2 GA on iOS 6 Simulator.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-05T07:36:54.000+0000", "updated": "2013-04-05T07:36:54.000+0000" }, { "id": "392717", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Fixed in latest builds and using the refactored version ({{Ti.UI.iOS.NavigationWindow}}).", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-09T09:24:04.000+0000", "updated": "2016-08-09T09:24:04.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }