On what? I see there's such a property on Accordion and a few other standard components, but all we have here is my custom TiledCanvas (latest version of the one I sent you a while back) and a few other custom and MXML components. Thanks.
On Mon, Jul 28, 2008 at 10:53 AM, Alex Harui <[EMAIL PROTECTED]> wrote: > resizeToContent? > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Richard Rodseth > Sent: Monday, July 28, 2008 10:31 AM > To: [email protected] > Subject: [flexcoders] Measurement and template component > > > > 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? > >

