Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-678] ipad orientation bug

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:53:53.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.3.0
ComponentsiOS
Labelsn/a
ReporterNolan Wright
AssigneeBlain Hamon
Created2011-04-15T02:34:15.000+0000
Updated2011-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)

Comments

  1. Blain Hamon 2011-04-15

    Fixed somewhere along the slog to fix Jersey Shore.

JSON Source