What is the width/height of the outer canvas? What is the width/height of the vbox?
What is the width/height of the canvas? What is the width/height of the form? What are the *expected* widths/height of the above? Horizontal scrollbar or vertical scrollbar? If you can provide these answers, anyone can help you better. In fact, chances are you'll figure this out yourself if you just print out the values of the above and compare them with expected values in your mind. On 5/4/07, arieljake <[EMAIL PROTECTED]> wrote: > I have this code: > > var categoryCanvas:Canvas = new Canvas(); > categoryCanvas.label = [EMAIL PROTECTED]; > categoryCanvas.percentHeight = 100; > categoryCanvas.percentWidth = 100; > > var categoryForm:Form = new Form(); > categoryForm.percentHeight = 100; > > var vbox:VBox = new VBox(); > vbox.percentWidth = 100; > vbox.percentHeight = 100; > > categoryCanvas.addChild(categoryForm); > vbox.addChild(categoryCanvas); > this.addChild(vbox); // 'this' is a canvas that in MXML has a large > height and width > > I do proceed to add formitems and fields to the form. When I view the > app, the form does not expand to fill the canvas, and instead has > scrollbars. Anyone understand why? > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > >

