picture = new Ext.BoxComponent({
id : 'picture',
name:'picture',
width:'70px', // 图片宽度
height:'70px', // 图片高度
autoEl:{
tag:'img',
src:IMGAES_URL
}});
或者panel 中html
本文介绍如何使用BoxComponent创建一个固定尺寸的图片组件,包括设置图片的宽度、高度及源地址。
picture = new Ext.BoxComponent({
id : 'picture',
name:'picture',
width:'70px', // 图片宽度
height:'70px', // 图片高度
autoEl:{
tag:'img',
src:IMGAES_URL
}});
或者panel 中html
829

被折叠的 条评论
为什么被折叠?