{ "id": "93898", "key": "AC-2836", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-02T14:30:37.000+0000", "created": "2012-06-26T04:26:25.000+0000", "labels": [ "dashboard", "ios", "layout", "navigationGroup" ], "versions": [], "issuelinks": [], "assignee": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "updated": "2016-03-08T07:47: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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I'm having a weird issue while using a DashboardView inside a Window which is managed with a NavigationGroup (of course we are talking about iPhone platform here).\r\n\r\nThe issue is about the positioning of the custom view I have used inside the DashboardItem. Attached to this issue you can find two screenshots.\r\n\r\nWhen I open the window with the dashboard using a navigation group this way, it fails:\r\n\r\n{code:javascript}\r\nvar navGroup = Ti.UI.iPhone.createNavigationGroup({\r\n window : win_with_dashboard\r\n});\r\nvar containerWindow = Ti.UI.createWindow();\r\ncontainerWindow.add(navGroup);\r\ncontainerWindow.open();\r\n{code}\r\n\r\nBut If I open just the window, without using the navigation group, everything is fine:\r\n\r\n{code:javascript}\r\nwin_with_dashboard.open();\r\n{code}\r\n\r\nDoes NavigationGroup alters in any way the layout of the windows? Does it alter the layout just for the Dashboard?\r\n\r\nNote that my DashboardView uses DashboardItems with custom views, in order to get icons with labels.\r\n\r\nTested under Titanium SDK 2.0.1.GA2 and 2.0.2.GA. On 1.8.2 it works fine.", "attachment": [ { "id": "28726", "filename": "issue-dashboard-appcelerator-01.png", "author": { "name": "jghurtado", "key": "jghurtado", "displayName": "Juan G. Hurtado", "active": true, "timeZone": "Europe/Madrid" }, "created": "2012-06-26T04:26:25.000+0000", "size": 54142, "mimeType": "image/png" }, { "id": "28727", "filename": "issue-dashboard-appcelerator-02.png", "author": { "name": "jghurtado", "key": "jghurtado", "displayName": "Juan G. Hurtado", "active": true, "timeZone": "Europe/Madrid" }, "created": "2012-06-26T04:26:25.000+0000", "size": 76112, "mimeType": "image/png" } ], "flagged": false, "summary": "DashboardView with custom items inside a NavigationGroup", "creator": { "name": "jghurtado", "key": "jghurtado", "displayName": "Juan G. Hurtado", "active": true, "timeZone": "Europe/Madrid" }, "subtasks": [], "reporter": { "name": "jghurtado", "key": "jghurtado", "displayName": "Juan G. Hurtado", "active": true, "timeZone": "Europe/Madrid" }, "environment": "Mac OS X 10.6, iOS SDK 5.0", "comment": { "comments": [ { "id": "201028", "author": { "name": "jghurtado", "key": "jghurtado", "displayName": "Juan G. Hurtado", "active": true, "timeZone": "Europe/Madrid" }, "body": "Fixed on SDK version: 2.1.0 (06/28/12 12:16 6e3cab6)", "updateAuthor": { "name": "jghurtado", "key": "jghurtado", "displayName": "Juan G. Hurtado", "active": true, "timeZone": "Europe/Madrid" }, "created": "2012-07-02T00:39:25.000+0000", "updated": "2012-07-02T00:39:25.000+0000" }, { "id": "201249", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "Thanks for the update. Closing this issue.\r\n", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-07-02T14:30:18.000+0000", "updated": "2012-07-02T14:30:18.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }