Application style removes margins : Application Style « Container « Flex






Application style removes margins

Application style removes margins
            
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Style>
    @namespace mx "http://www.adobe.com/2006/mxml";
    mx|Application {
         paddingLeft: 0px;
         paddingRight: 0px;
         paddingTop: 0px;
         paddingBottom: 0px;
    }
    </mx:Style>
    <mx:Button id="myButton" styleName="myFontStyle" label="Click Here"/>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Set border style to solid for ApplicationSet border style to solid for Application
2.Application style aligns application to leftApplication style aligns application to left
3.Application style sets background image to be emptyApplication style sets background image to be empty
4.Set Application style name to plain
5.Use to embed a font in the Flex applicationUse <mx:Style> to embed a font in the Flex application
6.Override the Default Application Style
7.style for application
8.Add padding to ApplicationAdd padding to Application
9.White application backgroundWhite application background
10.Set width and height for ApplicationSet width and height for Application
11.Set application backgroundSet application background