My application has a structure like this, portions of which are
created dynamically:

TiledCanvas
 PodChrome(instance 1)
   ReportModuleA
     ReportChrome(instance 1)
       ReportA
         Grid
 PodChrome(instance 2)
   ReportModuleB
     ReportChrome(instance 2)
       ReportB
         Chart
etc.

PodChrome and ReportChrome are template components.
TiledCanvas is functional - when tiling it correctly reflects a
minWidth/minHeight set way deep (eg. on the Grid), or set dynamically
on ReportA or ReportB when the state of ReportModuleA or B changes.

BUT. The above only works if I omit the ReportChrome wrapper.
ReportChrome is just a Canvas with two
states, that does an addChild in init(). I added a call to
this.invalidateSize() and child.invalidateSize() after the addChild()
to no avail. Any debugging tips or ideas on what I could be doing wrong?

Reply via email to