{ "id": "61570", "key": "TIMOB-938", "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": "11224", "name": "Release 1.4.0", "archived": true, "released": true, "releaseDate": "2010-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:54:43.000+0000", "created": "2011-04-15T02:39:40.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:54:43.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": "{html}

premium ticket:

\n

http://helpdesk.appcelerator.net/tickets/2393

\n

code:

\n

Titanium.UI.setBackgroundColor('#000');

\n

// create outer window var win1 =\nTitanium.UI.createWindow({

\n
\ntitle:'BugTest1',\nbackgroundColor:'#fff'\n
\n

});

\n

// create inner window with a table view var win2 =\nTitanium.UI.createWindow({

\n
\ntitle:'InnerWin',\nbackgroundColor:'#00f'\n
\n

}); var tbl = Ti.UI.createTableView({

\n
\ndata: [{title:'Item1'},{title:'item2'},{title:'item3'}],\nbackgroundColor: '#0ff'\n
\n

}); win2.add(tbl);

\n

// create a navigation view and add the second window var nav =\nTi.UI.iPhone.createNavigationGroup({

\n
\nwindow: win2\n
\n

});

\n

// set the orientation modes win1.orientationModes = [

\n
\nTitanium.UI.PORTRAIT,\nTitanium.UI.LANDSCAPE_LEFT,\nTitanium.UI.LANDSCAPE_RIGHT\n
\n

]; win2.orientationModes = [

\n
\nTitanium.UI.PORTRAIT,\nTitanium.UI.LANDSCAPE_LEFT,\nTitanium.UI.LANDSCAPE_RIGHT\n
\n

];

\n

// display the main window win1.add(nav);
\nwin1.open({

\n
\ntransition: Titanium.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT\n
\n

});

{html}", "attachment": [], "flagged": false, "summary": "table view + other elements get pushed under navbar on rotate to landscape", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124390", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [ea2d5f7a26416b85a119ec21bf2486ccc782bedf])\nCloses #938 -- Turns out it was not a case of the table\nview being pushed under the nav bar but the nav bar not becoming\nshorter. Windows weren't relaying the rotation to children and the\nNavGroup didn't relay the rotation to the nav controller. \nhttp://github.com/appcelerator/titanium_mobile/commit/ea2d5f7a26416...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:39:40.000+0000", "updated": "2011-04-15T02:39:40.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }