在用Ext.js开发时遇到了以下的问题:

报错原因:
父面板layout布局为 border 时,其子面板必须要有一个在 center 区域,即 region:center。在center区域的子面板会自动改变尺寸来填充父面板中的空余部分。
补充:
在 border 布局的面板中,若有 region 为 north 或 south 的子面板,须给定高度,设置 heght ,否则布局不起作用;同理, region 为 east 或 west 的子面板,须指定宽度。
EXt:uncaught exception: No center region defined in BorderLayout
原文:https://www.cnblogs.com/zkchan/p/11736446.html