Hi Ganaraj, You will have to override the updateDisplayList method also. There you can define the position of children components.
-Ravi On Jun 16, 3:26 pm, ganaraj p r <ganara...@gmail.com> wrote: > Hi, > I would like to achieve something as in > > www.dabbleboard.com/draw > > Please notice the buttons that pop up when the mouse hovers over a graphic. > I would like to achieve similiar things though with a simple Panel. > > I tried adding new buttons inside the createChildren method and then adding > these buttons to the rawChildren. > > But when I try to run the file they dont appear on the Panel at all. > > We have the closeButton by default on the Panel ( But this is added to the > titleBar.. which is there only on the top portion of the Panel ). > > Can someone help me in creating a component which has 4 buttons added to the > 4 corners of the Panel? Has anyone done this before? Any pointers? > > What exactly do I need to do for the placing ? > > -- > Regards, > Ganaraj P R --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---