0
隨着extjs我有南部地區的一個面板在那裏。問題是,當您調整南部區域的大小時,面板中沒有滾動條。在南部地區的邊界佈局的垂直滾動條
這是南區
var southDetails = Ext.create('Ext.panel.Panel', {
region: 'south',
animCollapse: false,
title: 'South Region',
height: 300,
stateful: true,
loadMask: false,
collapsible: true,
floatable: false,
collapsed: true,
hideCollapseTool: true,
split: true,
stateId: 'stateSouthDetails',
items: [ test ]
});
而且我在這裏使用的產品測試。這是因爲我想讓滾動條在那裏。
var test = Ext.create('Ext.tab.Panel', {
autoscroll: true,
height: 300,
stateful: true,
stateId: 'stateTestDetails',
items: [{
xtype: 'panel',
autoscroll: true,
autoHeight: true,
title: 'Test Panel'
}]
})
我可以看到面板的高度爲300。但是當我調整南面板時沒有滾動條。