使用Ext.Window时出现No center region defined in BorderLayout错误的愿原因
2008-03-24 09:19
856 查看
在往window中添加element的时候,需要给element指定region
比如
form = new Ext.FormPanel({
labelWidth: 80, // label settings here cascade unless overridden
url:'ext_partnerprofile.php?method=set',
frame:true,
title: 'Add a New Partner Profile',
bodyStyle:'padding:5px 5px 0',
width: 300,
defaults: {width: 150},
defaultType: 'textfield',
region:'center' ,
.....
});
比如
form = new Ext.FormPanel({
labelWidth: 80, // label settings here cascade unless overridden
url:'ext_partnerprofile.php?method=set',
frame:true,
title: 'Add a New Partner Profile',
bodyStyle:'padding:5px 5px 0',
width: 300,
defaults: {width: 150},
defaultType: 'textfield',
region:'center' ,
.....
});
相关文章推荐
- Extjs错误:uncaught exception: No center region defined in BorderLayout ext-comp-1002
- 使用viewport布局控件老是在报"No center region defined in BorderLayout "的错误
- uncaught exception: No center region defined in BorderLayout
- extjs面板布局报错:No center region defined in BorderLayout
- namenode做了ha后kylin出现错误No registered coprocessor service found for name CubeVisitService in region
- 使用opencv旋转图像时出现错误:windows has triggered a breakpoint in test.ext
- Keil 5 使用 Jlink 进行调试出现错误: No Algorithm found for:错误的解决过程
- python中使用zip函数出现<zip object at 0x02A9E418>错误的原因
- 使用RecyclerView加载网络图片时出现no adapter attached skipping layout
- 使用LINQ保存关联数据时,出现错误FOREIGN KEY 约束问题的原因
- 使用Genymotion安装APK出现错误Failure [INSTALL_FAILED_NO_MATCHING_ABIS]的解决办法
- VC自定义类封装为静态库被使用时出现unsolved external symbol 错误的原因之一
- Python 使用中出现错误:ImportError: No module named _sqlite3
- Probably ResourceManager is not defined in the View【ASP.NET MVC4+EXT.NET配置常见错误】
- nodejs中使用jquery出现“jQuery requires a window with a document”错误的解决方案
- Android Studio出现 No service of type Factory available in ProjectScopeServices.的错误解决方案
- linux-centos6.3 环境下使用eclipse开发rmi 出现“ObjID already in use”错误
- window下工具访问linux下mysql出现 error no 2003 10061错误的解决办法
- 关于php 使用 soap出现错误 looks like we got no XML document 解决方法
- 在使用eclipse 运行 maven install的时候,出现这个错误:Unable to locate the Javac Compiler in:…