Is there any way to hide some FormItem containers dynamically and show them
when needed. When I set widht and height to 0 and visible to false it causes
extra vertical space that is not acceptable to me. You can find the example
of what I say about below:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";>

        <mx:Panel title="Form">

                <mx:Form>
        
                        <mx:Repeater id="formItemRepeater"
dataProvider="{new Array(30)}">
                
                                <mx:FormItem width="0" height="0"
visible="false" label="{'Label '+formItemRepeater.currentIndex}">

                                        <mx:TextInput />

                                </mx:FormItem>
                
                        </mx:Repeater>
                
                </mx:Form>

        </mx:Panel>

</mx:Application>



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