给button一个大小,然后设置其背景图片样式
{
xtype : "button",
width : 50,
height : 45,
iconCls : 'guestManage',
ref : 'guestManage'
}
然后定义对应的css样式
.guestManage{
background-image: url('../images/guest50_45.png') !important;
height: 45px !important;
width: 50px !important;
}