Set paddingTop, paddingBottom, paddingLeft, paddingRight for Panel : Panel Style « Container « Flex






Set paddingTop, paddingBottom, paddingLeft, paddingRight for Panel

Set paddingTop, paddingBottom, paddingLeft, paddingRight for Panel
            


<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Panel title="My Application" paddingTop="10" paddingBottom="10"
        paddingLeft="10" paddingRight="10">
        <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml">
            <mx:ComboBox>
                <mx:dataProvider>
                    <mx:String>A</mx:String>
                    <mx:String>B</mx:String>
                    <mx:String>C</mx:String>
                </mx:dataProvider>
            </mx:ComboBox>
        </mx:VBox>
    </mx:Panel>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.A opaque panelA opaque panel
2.Panel TransparencyPanel Transparency
3.Floating panelFloating panel
4.Panel CornersPanel Corners
5.A transparent panelA transparent panel
6.Use SetStyle to change panel style valueUse SetStyle to change panel style value
7.Sliding a panel in and out when the button is clickedSliding a panel in and out when the button is clicked