Skip to content
Permalink
Browse files
add a little padding and show welcome screen if no app link passed in
  • Loading branch information
justinmclean committed Oct 18, 2014
1 parent cba0f58 commit 7406400e2a0b73af58c96696c5bd9dd6b3a9f9fa
Showing 1 changed file with 8 additions and 4 deletions.
@@ -17,10 +17,11 @@
-->

<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:explorer="*"
width="100%" height="100%" pageTitle="{TITLE}"
initialize="init()" creationComplete="checkParameters()" layout="vertical">
pageTitle="{TITLE}" layout="vertical" width="100%" height="100%"
paddingBottom="2" paddingTop="2" paddingLeft="2" paddingRight="2"
initialize="init()" creationComplete="checkParameters()">

<fx:Script>
<fx:Script>
<![CDATA[
import mx.core.FlexGlobals;
@@ -70,7 +71,10 @@
var source:String = explorerTree..node.(hasOwnProperty("@app") && @app == application).@src;
loadApp(application, source);
openNode(application);
}
}
else {
loadApp("Welcome", null);
}
}
private function treeChanged(event:Event):void

0 comments on commit 7406400

Please sign in to comment.