Hi @all,

I have got a problem with my layout...

I want my Application to fit into the browser window.

A VBox (vBxContent) should fit into this Application and be as high as
possible, wherefore I set its height to 100%.

But if a child (canContent) within vBxContent is higher then the screen it
pushes the vBxContent.height to canContent's height.


How can I assure, that the vBxContent height will not get bigger?




<mx:Application 
        xmlns:mx="http://www.macromedia.com/2003/mxml"; 
        width="100%" 
        height="100%" 
        backgroundColor="#AAAAAA" >

        <mx:VBox 
                id="vBxContent"
                width="100%" 
                height="100%" 
                backgroundColor="#666666" 
                verticalAlign="middle"
                horizontalAlign="center">
                
                <mx:Canvas
                        id="canContent"
                        backgroundColor="#ffffff" 
                        width="200"
                        height="1188"   />
                
                
        </mx:VBox>
        <mx:Canvas
                        id="canAnotherComponent"
                        backgroundColor="#ffffff" 
                        width="100"
                        height="100"    />

</mx:Application>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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