I need a grid layout of FieldItems while leveraging the form 
handling logic (default button, tab management, anything else?)

I tried the following:

MyForm extends Form
function updateDisplayList() {
  // Layout MyFormItems @ 2 per row
  // Set the width to half the available space

}

MyFormItem extends FormItem
function createChildren() {
  addChild() // for each UIComponent like textbox, combobox etc.
}

Questions:
1. The FormItem height is not proper - seems to chop off the bottom 
edge of the child control(s) by approx the top margin amount

2. Is there an alternative to custom layout code in MyForm? Can the 
Grid layout be used in combination with Form?
By default, Form seems to iterate its direct descendants for 
children of type FormItem or FormHeading and deal with them.

Thanks
Anand










--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to