为什么引入extjs日历组件,数据挤一起了

{
xtype: 'button',
text: '签到日历',
minWidth: 320,
margin: '5 0 0 80',
hidden: false,
handler: function () {
var calendarPanel = Ext.create('Ext.calendar.CalendarPanel', {
width: 600,
height: 600,
eventDisplay: 'block',
cellWidth: 70, // 调整单元格宽度
// 动态调整单元格高度
cellHeight: function (record, value, view) {
// 根据事件数量调整单元格高度
return Math.max(30, 30 + record.events.length * 10);
},
});
var win = Ext.create('Ext.window.Window', {
title: '签到日历',
width: 600,
height: 550,
layout: 'fit',
x: 350, // 设置窗口的X坐标
y: 250, // 设置窗口的Y坐标
items: calendarPanel
});
win.show();
setTimeout(function() {
win.focus(); // 在渲染完成后聚焦窗口
}, 20);
}
}