PDA

View Full Version : Problem when hidden toolbar



doggroup
29 Dec 2010, 12:48 AM
Hi, I have problem when I hidden toolbar but it stills show toolbar space. How can I remove this space?

Can you help me please



onHome: function(btn) {
webon.Main.ui.navigationBar.hide('fade'); // top toolbar
webon.Main.ui.navigationBar.doComponentLayout();
webon.Main.ui.buttonsGroup.show('flip') // content
webon.Main.ui.BottomTabs.hide('fade'); // button toolbar
webon.Main.ui.BottomTabs.doComponentLayout();
webon.Main.ui.doComponentLayout();
},

this.navigationBar = new Ext.Toolbar({
id:'custom-toolbar',
dock: 'top',
title: this.title,
hidden: true,
height: 96,
items: btns.concat(this.buttons || [])
});//this.navigationBar

this.BottomTabs = new Ext.Toolbar({
id:'wo-custom-bottomTabs',
baseCls: 'wo-custom-bottomTabs',
dock: 'bottom',
hidden: true,
layout: {
pack: 'center'
},
height: 48,
items: webon.BottomStructure,
});//this.navigationBar


First page
l24003

Nextpage
24005

Call onHome function to show first page
24004