Specify percentageWidth, percentageHeight for the box you are adding dynamically.
And Remember to specify the width, height for your Application and Canvas On Tue, Feb 24, 2009 at 21:42, karthikeyan cs <[email protected]> wrote: > Hai dear friend, > Here the solution for your problem. > There is a method name as UpdateDisplayList().you > need to override this function. you have to specify the height and witdh of > the child component in percentage format.i will send you the code by > evening.try this if you get it means reply me. > > On Tue, Feb 24, 2009 at 5:04 PM, akshay gore <[email protected]> wrote: > >> >> Hi all, >> I have a Canvas in my application, in that i am adding a >> child (box) dynamically.. now when i change the height n width >> (Layout) of the canvas dynamically i also want its children get >> resized accordingly .. Here i am getting the problem that children >> (Layout) are not changing according to parent (canvas).. Is there >> anyway to do this? which property should i set that it will be done >> automatically? >> Thanks in advance, >> Regards, >> Akshay >> >> > > > -- > Thanks & Regards, > Karthikeyan.cs. > Ph:9790277822. > > > > > -- Fear is an illusion, So, face it ! RM3sh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

