과 창에 문제를 간격 : detailGrid (GridPanel)와 msgDetailsPanel (Ext.ux.ManagedIFrame.Panel) :에 extjs는 내가 extjs라는 window 객체 같은이 두 항목
win = new Ext.Window({
layout:'fit',
title: '<spring:message code="title.alertDetails" />',
autoDestroy: true,
autoScroll: true,
width:600,
height:400,
closable:false,
plain: true,
items: [detailGrid,msgDetailsPanel],
buttons: [{
text: '<spring:message code="label.button.close" />',
handler: function(){
win.hide(this);
}
}]
});
2 개 항목이 있습니다.
이제 창을 렌더링 할 때 그리드에 항목이 하나 뿐이고 msgDetailsPanel을 보려면 아래로 스크롤해야하는 경우에도 detailGrid가 많은 수직 공간을 차지합니다. 이 2 가지 항목을 내용에 따라 자동으로 조정하려면 어떻게해야합니까?