Are you sure the GridItems resize and don't just get clipped by the
scrollbar?  The code looks like it should send the event if the size
changed.
 
If you have a small test case, feel free to post it

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Matt
Sent: Friday, September 28, 2007 12:06 PM
To: [email protected]
Subject: [flexcoders] Re: ResizeEvent.RESIZE Not Very Smart?



I guess my real question is:

Is there any way to receive an event every time a component's pixel
size actually changes for any reason?

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Matt" <[EMAIL PROTECTED]> wrote:
>
> I have a Grid with GridRows and GridItems. I have three GridItems per
> row and their size is set to 33% width. This works fine but when
> enough GridRows are added to cause a vertical scroll bar to be
> displayed I want to know that the actual pixel width of those
> GridItems has changed and Flex doesn't seem to want to let me find
> that out. I addEventListener(ResizeEvent.RESIZE, eventHandler) to the
> GridItems but apart from the very first layout on the screen I never
> receive another ResizeEvent. Is there something I'm doing wrong or
> something more I need to be doing in order to be notified when that
> resize occurs?
>



 

Reply via email to