Problem
In fullscreen window the navBar is not located on the top of the screen (it has an extra padding).
REGRESSION - works fine on SDK 1.7.2
Reproducible steps
1. Execute the sample code
2. Press "Win2" button (the navBar is not on the top however it is a fullscreen window)
3. Press "Tab1" and change the orientation to landscape
4. Press "Win2" (on landscape the navBar is not on the top)
Sample Code
// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000');
// create tab group
var tabGroup = Titanium.UI.createTabGroup();
//
// create base UI tab and root window
//
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff',
navBarHidden: false,
tabBarHidden: true
});
var tab1 = Titanium.UI.createTab({
icon:'KS_nav_views.png',
title:'Tab 1',
window:win1
});
var b1 = Titanium.UI.createButton({
title:'Win 2',
height:40,
width:200,
top:30
});
win1.add(b1);
b1.addEventListener('click', function(e)
{
var w = Titanium.UI.createWindow({
fullscreen:true,
//url:'new_win.js',
barColor:'#111'
});
tab1.open(w);
});
tabGroup.addTab(tab1);
// open tab group
tabGroup.open();
Associated HelpDesk Ticket
http://appc.me/a/APP-751215
Tested against 1.8.0.1.5457cb3, iPhone Sim 5.0. Could not reproduce in this version; probably because Blain re-enabled setting the application frame on rotation.
Closing issue due being fixed/not being able to reproduce Tested with Ti Studio 1.0.8.201201101928 Ti Mob SDK 1.8.0.1 OSX Lion iPhone 4S OS 5.0.1, iPhone sim 4.3