我使用extjs构建门户网站,并遇到以下问题。图像的高度超过选项卡(在右侧)。我想在此选项卡上添加垂直滚动条。在extjs中如何实现这一点?
这是我的代码的一部分:
谢谢。
这是我的代码的一部分:
items: [{
xtype: 'tabpanel',
activeTab: 0,
flex: 2,
items: [{
xtype: 'panel',
title: 'Images',
items: [{contentEl:'img',autoScoll: true,height:11200,overflowY : String }]
},{
xtype: 'panel',
title: 'Material',
items: [{contentEl:'msg',autoScoll: true,height:11200,overflowY : String }]
}]
}]
谢谢。