PDA

View Full Version : Layout failure: containerChildrenDone:dom missing value



dave_e
26 Sep 2012, 9:10 AM
I'm upgrading from 4.0.7 to 4.1.1a and struggling to understand how I debug layout failures. So far I've fixed a few problems by setting layout: 'auto' and adding a specific height value. But I don't know what to do about the final error I get. The docs contain no reference to containerChildrenDone or a relevant dom variable. I've attached the error log below.

Any idea what I should be changing to fix this?


++attributeeditor-1017<autocontainer> - size: calculated/calculatedext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++textfield-1018<textfield> - boxParent: attributeeditor-1017 - size: natural/shrinkWrap ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++vectorproperty-1019<field> - boxParent: attributeeditor-1017 - size: natural/shrinkWrap ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++vectorproperty-1020<field> - boxParent: attributeeditor-1017 - size: natural/shrinkWrap ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++vectorproperty-1021<field> - boxParent: attributeeditor-1017 - size: natural/shrinkWrap ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++componenteditor-1180<dock> - boxParent: attributeeditor-1017 - size: natural/shrinkWrap ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++componenteditor-1180_header<body> [isBoxParent] - size: calculated/shrinkWrap ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++componenteditor-1180_header<hbox> [isBoxParent] - size: calculated/shrinkWrap ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++componenteditor-1180_header_hd<autocomponent> [isBoxParent] - size: calculated/shrinkWrap ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++tool-1360<autocomponent> [isBoxParent] - size: configured/configured ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++componenteditor-1180<anchor> - boxParent: attributeeditor-1017 - size: natural/shrinkWrap ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
--assetfield-1181<autocontainer> - size: calculated/configured ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
triggeredBy: count=1 ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
assetfield-1181.containerChildrenDone:dom () dirty: false, setBy: ? ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++label-1193<autocomponent> - size: natural/shrinkWrap ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++gridpanel-1182<dock> - size: natural/configured ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++headercontainer-1183<autocomponent> [isBoxParent] - size: calculated/configured ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++headercontainer-1183<gridcolumn> [isBoxParent] - size: calculated/configured ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++gridcolumn-1184<columncomponent> [isBoxParent] - size: calculated/calculatedFromShrinkWrap ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++actioncolumn-1185<columncomponent> [isBoxParent] - size: calculated/calculatedFromShrinkWrap ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++gridpanel-1182<autocontainer> - size: natural/configured ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++gridview-1186<tableview> - boxParent: gridpanel-1182 - size: natural/shrinkWrap ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++button-1192<button> - size: shrinkWrap/shrinkWrap ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++assetfield-1181<autocomponent> - size: calculated/configured ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++checkboxfield-1194<field> - size: calculated/shrinkWrap ext-dev.js:11374 (http://platform.playcanvas.dev/script/contrib/extjs-4.1.1a/ext-dev.js)
++checkboxfield-1195<field> - size: calculated/shrinkWrap

mitchellsimoens
28 Sep 2012, 7:54 AM
What does the parent and it's children look like?

dave_e
2 Oct 2012, 2:02 AM
I'm not quite sure what you mean?

AttributeEditor is a form panel which contains some fields and multiple ComponentEditors.

ComponentEditor is also a form panel and in this case contains an AssetPicker.

AssetPicker is a Container with a Ext.form.field.Field mixin. It contains a label and a couple of Grid panels (one of which is hidden).

ComponentEditor creates it's content dynamically, but it is only when the AssetPicker is present that the layout fails.

Previous errors I could fix by tracking down an attribute which I hadn't initialized, but I'm not sure what containerChildrenDone:dom is?