remove extra borders by converting to a box

Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/4d337169
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/4d337169
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/4d337169

Branch: refs/heads/develop
Commit: 4d337169205faf65a4d164a64dd303e04c5805d2
Parents: 7406400
Author: Justin Mclean <jmcl...@apache.org>
Authored: Sat Oct 18 11:24:43 2014 +1100
Committer: Justin Mclean <jmcl...@apache.org>
Committed: Sat Oct 18 11:24:43 2014 +1100

----------------------------------------------------------------------
 TourDeFlex/TourDeFlex3/src/loaderPanel.mxml | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/4d337169/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml 
b/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml
index c71b4cc..bd09faf 100755
--- a/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml
+++ b/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml
@@ -17,11 +17,9 @@
       limitations under the License.
   -->
 
-<!-- TODO probably no need for a panel -->
-<mx:Panel xmlns:fx="http://ns.adobe.com/mxml/2009"; 
xmlns:mx="library://ns.adobe.com/flex/mx"
-                 headerHeight="0" dropShadowVisible="false"
+<mx:Box xmlns:fx="http://ns.adobe.com/mxml/2009"; 
xmlns:mx="library://ns.adobe.com/flex/mx"
                  width="100%" height="100%">
-   <fx:Script>
+    <fx:Script>
      <![CDATA[
      
        public function loadApp(swfApp:String):void
@@ -34,4 +32,4 @@
 
 <mx:SWFLoader id="myLoader" width="100%" height="100%"  
horizontalAlign="center" verticalAlign="middle" />
 
-</mx:Panel>
+</mx:Box>

Reply via email to