When the VDividedBox is resized to a small height that the Canvas
child Vbox is clipped, instead of resizing the VBox children and
displaying a scrollbar for the height, it displays both of the
scrollbars. 

Since the children are set to 100% width (pretty much everything is
100% width), I am thinking, it should resize them. I checked the
canvas width onItemAdd and it does not exclude the scrollbar width.

Please help?!


<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute">
        <mx:VDividedBox height="100%" width="50%">
                        <mx:Canvas id="Content" width="100%" height="100%">
                                <mx:VBox id="SearchControlContent"
                                        width="100%" verticalAlign="top" 
                                        horizontalAlign="center">
                                        <mx:HBox width="100%" height="23"
                                                verticalAlign="middle" 
paddingLeft="3" paddingRight="3">
                                                <mx:Text text="test" 
width="50%"/>
                                                <mx:TextInput width="100%" 
height="20" color="#000000"/>
                                                <mx:Text width="10" text="*" />
                                        </mx:HBox>
                                        <mx:HBox width="100%" height="23" 
                                                verticalAlign="middle" 
paddingLeft="3" paddingRight="3">
                                                <mx:Text text="test" 
width="50%"/>
                                                <mx:TextInput width="100%" 
height="20" color="#000000"/>
                                                <mx:Text width="10" text="*" />
                                        </mx:HBox>
                                </mx:VBox>                              
                        </mx:Canvas>
                        <mx:Canvas width="100%" height="100%" clipContent="true"
horizontalScrollPolicy="off">
                                <mx:VBox 
                                        width="100%" verticalAlign="top" 
                                        horizontalAlign="center" >
                                        <mx:HBox width="100%" height="23" 
                                                verticalAlign="middle" 
paddingLeft="3" paddingRight="3">
                                                <mx:Text text="test" 
width="50%"/>
                                                <mx:TextInput width="100%" 
height="20" color="#000000"/>
                                                <mx:Text width="10" text="*" />
                                        </mx:HBox>
                                        <mx:HBox width="100%" height="23" 
                                                verticalAlign="middle" 
paddingLeft="3" paddingRight="3">
                                                <mx:Text text="test" 
width="50%"/>
                                                <mx:TextInput width="100%" 
height="20" color="#000000"/>
                                                <mx:Text width="10" text="*" />
                                        </mx:HBox>
                                </mx:VBox>
                        </mx:Canvas>
        </mx:VDividedBox>
        <mx:Script>
                <![CDATA[
                        import mx.controls.Alert;
                ]]>
        </mx:Script>
</mx:Application>





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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