horizontalCenter and horizontalAlign : 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 
horizontalCenter and horizontalAlign
horizontalCenter and horizontalAlign
           
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Panel y="10" 
              width="250" 
              height="200" 
              layout="vertical" 
              id="textPanel" 
              title="Design Mode" 
              horizontalCenter="0" 
              horizontalAlign="center" 
              verticalAlign="middle">
        <mx:Label text="{labelInput.text}" id="daLabel"/>
        <mx:Button label="Glow!" mouseDownEffect="Glow"/>
        <mx:TextInput id="labelInput"/>
    </mx:Panel>
</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.Put control into a PanelPut control into a Panel
7.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
8.Three Panel GroupsThree Panel Groups
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___ava2_s_.c__om | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.