That's basically what I did. But it involves some pretty ugly coding and hacks in my opinion.
Too bad this isn't a default property. On 4/25/08, Alex Harui <[EMAIL PROTECTED]> wrote: > > You can subclass Accordion, override updateDisplayLIst, call the > super.updateDisplayList, then further adjust your headers and content > afterwards. > > > ------------------------------ > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Webdevotion > *Sent:* Friday, April 25, 2008 1:24 AM > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [Flexcoders] Variable headerheight in an Accordion > > > > I know, but how can you change this default behaviour? > I hacked my way into the accordion and also made a custom header class. > My solution works, but it does feel a bit dirty. > > Any thoughts on this subject? > > On Thu, Apr 24, 2008 at 1:18 AM, Alex Harui <[EMAIL PROTECTED]> wrote: > > The accordion sets all headers to the same height. > > > ------------------------------ > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Webdevotion > *Sent:* Wednesday, April 23, 2008 9:15 AM > *To:* flexcoders@yahoogroups.com > *Subject:* [Flexcoders] Variable headerheight in an Accordion > > > > Hello Coders, > > How can I set a variable headerheight for my accordion headers? > I'm almost there but every time the "accordion state toggles" ( opens a > new child to be displayed), > the accordion re-calculates the wrong headerheight. > > I'm using: > - a custom headerclass > - a vbox with a textarea as the accordion children > > The accordion is displaying data from an xml file. > Is there an event overwriting my measure, updatedisplaylist functions in > the header class? > > Thoughts are more then welcome! > > Bram > > > >