我正在将我的代码从 ExtJS 4.0.7 升级到 4.1.1,并且遇到了一些布局错误。我通过添加一些缺失的高度和宽度属性来修复了一些,但最后一个让我难过。
我附上了下面布局调试的一些输出。开始部分--assetfield-1181
是问题,但我不知道错误消息的含义。我在文档中找不到对“dom”属性或 containerChildDone 的任何引用。
++componenteditor-1180<anchor> - boxParent: attributeeditor-1017 - size: natural/shrinkWrap
--assetfield-1181<autocontainer> - size: calculated/configured
triggeredBy: count=1
assetfield-1181.containerChildrenDone:dom () dirty: false, setBy: ?
++label-1193<autocomponent> - size: natural/shrinkWrap
++gridpanel-1182<dock> - size: natural/configured
++headercontainer-1183<autocomponent> [isBoxParent] - size: calculated/configured
++headercontainer-1183<gridcolumn> [isBoxParent] - size: calculated/configured
++gridcolumn-1184<columncomponent> [isBoxParent] - size: calculated/calculatedFromShrinkWrap
++actioncolumn-1185<columncomponent> [isBoxParent] - size: calculated/calculatedFromShrinkWrap
++gridpanel-1182<autocontainer> - size: natural/configured
++gridview-1186<tableview> - boxParent: gridpanel-1182 - size: natural/shrinkWrap
++button-1192<button> - size: shrinkWrap/shrinkWrap
++assetfield-1181<autocomponent> - size: calculated/configured
++checkboxfield-1194<field> - size: calculated/shrinkWrap
++checkboxfield-1195<field> - size: calculated/shrinkWrap