Put control into a Panel : Panel Layout « Container « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Container » Panel LayoutScreenshots 
Put control into a Panel
Put control into a Panel
            

<mx:Application
    xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Canvas width="400" height="300">
        <mx:Panel left="40" right="40" top="40" id="topPanel">
            <mx:Label text="Label text"/>
        </mx:Panel>
        <mx:Panel left="140" right="40" bottom="40" id="bottomPanel">
            <mx:Label text="Label text"/>
        </mx:Panel>
    </mx:Canvas>
    
</mx:Application>

   
    
    
    
    
    
    
    
    
    
    
    
  
Related examples in the same category
1.Use VerticalLayout to layout PanelUse VerticalLayout to layout Panel
2.Set Panel layout to horizontalSet Panel layout to horizontal
3.absolute layout with Panelabsolute layout with Panel
4.Toggle includeInLayoutToggle includeInLayout
5.Panel with statusPanel with status
6.Change SpanElement color whenever the user clicks on any location within that SpanElement's paragraphChange SpanElement color whenever the user clicks on any location within that SpanElement's paragraph
7.Three Panel GroupsThree Panel Groups
8.horizontalCenter and horizontalAlignhorizontalCenter and horizontalAlign
9.Use percentage to control the width and height of a PanelUse percentage to control the width and height of a Panel
w___ww._j_av_a___2s_.__c___o___m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.