PDA

View Full Version : Panel with "hidden:true" still shows on page load



diablo
26 Feb 2010, 4:53 AM
So i have built the panel as you can see below. When i am loading the page, for a short period 2-3 ms i can see the panel. Misteriously happens in FF and in IE not. Has anybody a hint what is happening and how can i solve it? Thanks.



var act_panel = new Ext.Panel({
renderTo: 'div-name',
id:'apan',
title: 'Title',
border: true,
split: true,
width: 480,
frame: false,
hidden: true,
layout: 'anchor',
items: [{
anchor: '100%',
border: false,
bodyStyle: 'padding: 5px 100px',
items: [a_combo]
},{
xtype: 'panel',
height: 'auto',
minHeight: 100,
id: 'ido',
anchor: '100%',
layout: 'card',
items: [],
border: false
}],
tools:[]

});

stehen09
26 Feb 2010, 5:55 AM
you can use page load mask...

diablo
26 Feb 2010, 8:42 AM
load mask isn't transparent? even with the mask i think i will still see the panel on load.

i tried hideMode: 'offsets' but no change. Some other ideas? Thanks.