Hi, Please refer to these layout containers and choose one that suits your needs.
1.Tile http://livedocs.adobe.com/flex/3/html/help.html?content=layouts_11.html 2.Grid http://livedocs.adobe.com/flex/2/langref/mx/containers/Grid.html 2008/12/3 JavaFlex Rock <[EMAIL PROTECTED]> > > Hi, > If u want to use Canvas then we need to specify X and Y.if u don't > want to use X and Y then you need a container which layout it's > children in particular order > like Horizontally or vertically. > Thanks, > Pankaj > > > On Dec 1, 9:33 pm, kaal <[EMAIL PROTECTED]> wrote: > > Thing is that my data contains both x and y axis if i use vbox means > > it span vertically same goes for hbox , i need to display products > > list tell me what i need to do i also cant use tilelist as i m having > > problem :( > > > > On Dec 1, 8:54 pm, JavaFlex Rock <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > Use Vbox or Hbox instead of canvas .if use canvas then x and y must > > > specified. > > > Thx pankaj > > > > > On Dec 1, 7:33 pm, kaal <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > I have a canvas and i need to add child programatically say this > > > > function add the items to canvas > > > > > > public function addIntoCanvas():void{ > > > > canvasId.addChild(new Label()); > > > > > > } > > > > > > so if i call this function twice it add the item on the first item > > > > means the two items overlap each other . I also tried addChildAt > > > > function but no success. Can u suggest me a solution so that when i > > > > add child in canvas (without giving X and Y) it automatically get > > > > added one after the another > > > > > > Thanks > > > > > > Waiting for a Solution ..... > > > > -- Vijay --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

