PDA

View Full Version : Hide TabBar



tfrugia
12 Jul 2010, 9:49 AM
I am trying to programatically hide the tab bar. When I use tabBar.hide() it does indeed hide, but the space that it occupied is unusable.

Here's the scenario:

I have a tabpabel with bottom tabs. Inside one of the tabs is a nestedlist, and when someone clicks a certain item I want the list to go full screen without showing the tabs at the bottom. tabBar.hide() would do this but the full screen item only spans to the top of where the tab bar would be starting.

Thanks for any help!

tfrugia
12 Jul 2010, 1:28 PM
The following code worked to fix the above, but I still believe out of the box Component.Hide() should hide the entire space.


Ext.getCmp('mainBottomTabBar').getEl().parent().hide();