[TIMOB-4085] Tab title is not visible on the associated window's navigation bar.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2011-05-16T11:21:47.000+0000 |
Affected Version/s | Release 1.7.0 |
Fix Version/s | Sprint 2011-20 |
Components | iOS |
Labels | ios, tab, title, window |
Reporter | Jacob Relkin |
Assignee | Jacob Relkin |
Created | 2011-05-13T16:17:24.000+0000 |
Updated | 2012-02-09T14:10:35.000+0000 |
Description
Using the following code:
var firstWindow = Ti.UI.createWindow({'title': 'First Tab'});
var secondWindow = Ti.UI.createWindow({'title': 'Second Tab'});
// when this window is shown, get some data
secondWindow.addEventListener('focus',function(){
alert('you opened this tab');
});
var tabOne = Titanium.UI.createTab({
title:'Tab One',
window:firstWindow
});
var tabTwo = Ti.UI.createTab({
title:'Tab Two',
window:secondWindow
});
var tabGroup = Ti.UI.createTabGroup({
tabs:[tabOne, tabTwo]
});
tabGroup.open();
Run app, and behold! The associated title
is not visible on their respective window's navigation bar.
I cannot reproduce this issue with the code provided.
I am lolling at this bug