wiln / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

Window Shade Children #227

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When adding window shades to a parent window shade, opening the children
window shade does not resize the height of the parent window shade, i
provide the code to recreate this issue...

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:code="http://code.google.com/p/flexlib/">
    <code:WindowShade id="win1" width="100%" opened="false" layout="vertical">
            <mx:Form width="100%">
                <mx:FormItem label="A">
                    <mx:TextInput width="100%"/>
                </mx:FormItem>
                <mx:FormItem label="A">
                    <mx:TextInput width="100%"/>
                </mx:FormItem>
            </mx:Form>

            <code:WindowShade id="win2" width="100%" opened="false">
                <mx:VBox width="100%" height="100%">
                    <mx:TextInput width="100%"/>
                    <mx:TextInput width="100%"/>
                </mx:VBox>
            </code:WindowShade>

            <code:WindowShade id="win3" width="100%" opened="false">
                <mx:VBox width="100%" height="100%">
                    <mx:TextInput width="100%"/>
                    <mx:TextInput width="100%"/>
                </mx:VBox>
            </code:WindowShade>     
    </code:WindowShade>
</mx:Application>

i would like expect the parent to resize if the child components resize,
this is not only for window shade components as children but any other flex
component, if the childs height changes the parent is not updated until it
is closed and reopend

Original issue reported on code.google.com by rehan_ud...@gtempaccount.com on 8 Jun 2009 at 9:55

GoogleCodeExporter commented 8 years ago
Good news! It's fixed.

Original comment by angelocb...@gmail.com on 17 Aug 2010 at 7:44