Ext.panel 高度问题

大家好
我用Ext.panel布局了一个页面
代码如下:
new Ext.Panel({
width:780,
height:500, <<<<--------------------
footer:true,
shadow:true,
border:true,
margins:'0 auto 0 auto',
autoScroll:true,
layout:'border',
items:[{
region:"center",
title:"center",
contentEl:'center',
autoScroll:true,
width:580,
height:400
}]
})

+++++++++++++++++++++++++++++++++++++++++++++++++++++
如果设置panel的height属性的值超过浏览器的高度,超出的部分显示不出来,浏览器也不会出现如下的滚动条
有人知道是怎么回事么
怎么解决
谢谢
问题补充:有人知道没,我现在知道了,可是悬赏啊,不能白白浪费了,有人要米?
提问者: buhuanKing - 助理 二级
最佳答案
属性值中再加一条试试
autoHeight:true,

有空可以看看EXT文档噢
www.ajaxjs.com


晕,你在这个网里面的论坛上也问了这个问题吧!
大侠,你真牛!
回答者: monkeyyjp - 助理 三级  4-14 21:58
查看用户评论(1)>>
提问者对于答案的评价:
没办法...........

html{
margin:0;
padding:0;
height:100%;
}
这么设置css会导致那个问题.

你可能感兴趣的:(html,浏览器,css,ext)