Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2787] TabBar will not hide

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2012-07-20T15:50:56.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterJudy
AssigneeNeeraj Gupta
Created2011-04-15T03:29:36.000+0000
Updated2017-03-09T23:02:16.000+0000

Description

The Tab Bar will not hide and visible does not work.

var tabGroup = Titanium.UI.createTabGroup();

var win1 = Titanium.UI.createWindow({

title:'Window 1',
backgroundColor:'#fff'

}); var tab1 = Titanium.UI.createTab({

title:'Tab 1',
window:win1,
visible: false

});

tabGroup.addTab(tab1);
tabGroup.open();
win1.hideTabBar();

Comments

  1. Vishal Duggal 2012-07-20

    hideTabBar must be called before open. This will work
       var tabGroup = Titanium.UI.createTabGroup();
       
       var win1 = Titanium.UI.createWindow({
       
       title:'Window 1',
       backgroundColor:'#fff'
       }); var tab1 = Titanium.UI.createTab({
       
       title:'Tab 1',
       window:win1,
       visible: false
       });
       
       tabGroup.addTab(tab1);
       tabGroup.open();
       win1.hideTabBar();
       
  2. Lee Morris 2017-03-09

    Closing ticket as invalid.

JSON Source