PDA

View Full Version : Scrollbar and accordion layout



stefx
21 Sep 2010, 7:15 AM
Hi to all...
I've a problem with a scrollbar in a panel with accordion layout.
This is the code:


var settingsPanel = new Ext.Panel({
autoWidth: true,
hideBorders: true,
border: false,
id: 'settingsPanelId',
items: [{
xtype: 'container',
layout: 'fit',
hideBorders: true,
items: [{
xtype: 'panel',
html: 'temp',
},{
xtype: 'panel',
autowidth: true,
id: 'accordionPanel',
layout:'accordion',
autoscroll: true,
items: [{
xtype: 'panel',
title: 'Quando',
html: 'temp',
id: 'panelQuando',
autoHeight: true,
}, {
xtype: 'panel',
title: 'Ricerca',
html: 'prova',
autoHeight: true
},{
xtype: 'panel',
title: 'Eventi',
id: 'panelTipi',
autoHeight: true,
data: initSettings.tipi,
tpl: tplTipi
}]
}]
}]
}
);

This main panel is inside a viewport.
The panel "panelTipi" don't show the scrollbars!
What's the problem?

Thanks a lot
Stefano

stefx
21 Sep 2010, 11:56 PM
Up!