求教怎样才能让Ext Htmleditor 自适应 问题如图 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 这是一个例子htmleditor随改变窗体大小自动适应Ext.onReady(function() { var win = new Ext.Window({ title:"主窗体", width:410, height:200, border:false, constrain: true, resizable: true, minimizable: true, maximizable: true, layout:"fit", items:[ { xtype:"form", items:{ xtype:"htmleditor",name:"html",fieldLabel:"",hideLabel:true,anchor:"100% 100%" } } ] }); win.show();}); 不好意思图片没有插上,如下二楼的兄弟给的例子恰好是我想要的,谢谢就是用fit layout 求商品对比功能代码实例 为什么我的jQuery不能使用XPath选择符? iframe 框架跳转问题 IE不识别jQuery是怎么回事 JS贪吃蛇代码点评(欢迎猛烈批评!) 获取图片路径 textarea 自动换行的行数检测 代码在firefox运行正常,但在IE里不行..啥元因? jquery调用另外一个function方法 无法连接数据库 JS如何捕获浏览器后退事件 JavaScript 服务器上的循环定时器问题
var win = new Ext.Window({
title:"主窗体",
width:410,
height:200,
border:false,
constrain: true,
resizable: true,
minimizable: true,
maximizable: true,
layout:"fit",
items:[
{
xtype:"form",
items:{
xtype:"htmleditor",name:"html",fieldLabel:"",hideLabel:true,anchor:"100% 100%"
}
}
]
});
win.show();});
二楼的兄弟给的例子恰好是我想要的,谢谢
就是用fit layout