A workarround here: in your itemrenderer, call the sizing function if data
= dataprovider's lastitem :)

P.S. Are you sure you can't do the sizing math in advance? If you adjust
the sizing at the end, it'll surely cause a re-rendering


On Tue, Mar 18, 2014 at 9:34 PM, Alex Harui <aha...@adobe.com> wrote:

> Most components dispatch updateComplete, but this looks like a custom
> ViewStack so I don't know how it actually works.
>
> On 3/18/14 11:17 AM, "Scott Matheson" <smathe...@intralinks.com> wrote:
>
> >is there an event when a itemrenderer is complete i.e. all items has even
> >rendered from the data provider, i want to size the view stack when all
> >items have been added minHeight does not seem to work, i end up with 10
> >lines when i only need 5
> >
> >
> >
> >
> >
> ><common:ViewStack id="sentencesView" minHeight="0"
> >
> >  dataProvider="{paragraphs}"
> >
> > width="100%"
> >
> > horizontalCenter="0"
> >
> >  itemRenderer="com.peach.uofs.lesson.ParagraphRenderer"
> >
> >  verticalCenter="0">
> >
> ></common:ViewStack>
> >
> >
> >________________________________
> >
> >Disclaimer: This electronic mail and any attachments are confidential and
> >may be privileged. If you are not the intended recipient, please notify
> >the sender immediately by replying to this email, and destroy all copies
> >of this email and any attachments. Thank you.
>
>

Reply via email to