[TIMOB-678] ipad orientation bug
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:53:53.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.3.0 |
Components | iOS |
Labels | n/a |
Reporter | Nolan Wright |
Assignee | Blain Hamon |
Created | 2011-04-15T02:34:15.000+0000 |
Updated | 2011-04-17T01:53:53.000+0000 |
Description
run this in app.js
// this sets the background color of the master UIView (when there are no windows/tab groups on it) Titanium.UI.setBackgroundColor('#fff');
// // create base UI tab and root window // var win1 =
Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#111'
});
// initialize to all modes win1.orientationModes = [
Titanium.UI.PORTRAIT,
Titanium.UI.LANDSCAPE_LEFT,
Titanium.UI.LANDSCAPE_RIGHT
]; Ti.UI.orientation = Titanium.UI.LANDSCAPE_LEFT;
win1.open();
there is a white gap at the top. also if you take out the Ti.UI.orientation call and simply rotate the emulator, the white gap is displayed on each orientation change (in some cases it's a large gap)
Fixed somewhere along the slog to fix Jersey Shore.