[flexcoders] Container is not resizing when parent resizes

2008-07-17 Thread wwwpl
I created a custom component that extends Container.  I have set the 
width and height to 100%.  When my component first comes up it resizes 
as the parent resizes, but after the user uses the application, my 
component gets into a state where it doesn't get sent measure events 
any more.  Any ideas?



Re: [flexcoders] Container is not resizing when parent resizes

2008-07-17 Thread Josh McDonald
As a guess, you're probably setting width and height somewhere instead of
calling setActualSize(width, height);

-Josh

On Fri, Jul 18, 2008 at 9:12 AM, wwwpl [EMAIL PROTECTED] wrote:

 I created a custom component that extends Container.  I have set the
 width and height to 100%.  When my component first comes up it resizes
 as the parent resizes, but after the user uses the application, my
 component gets into a state where it doesn't get sent measure events
 any more.  Any ideas?


 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






-- 
Therefore, send not to know For whom the bell tolls. It tolls for thee.

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]