FLEX-34493 centre loading bar and example
Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/e9c8726e Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/e9c8726e Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/e9c8726e Branch: refs/heads/master Commit: e9c8726ef038c9c233f38ce8d427eb126fdd0e4b Parents: 44a07f5 Author: Justin Mclean <[email protected]> Authored: Mon Oct 13 10:22:09 2014 +1100 Committer: Justin Mclean <[email protected]> Committed: Mon Oct 13 10:22:09 2014 +1100 ---------------------------------------------------------------------- TourDeFlex/TourDeFlex3/src/loaderPanel.mxml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/e9c8726e/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml b/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml index 98bb2a3..c71b4cc 100755 --- a/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml +++ b/TourDeFlex/TourDeFlex3/src/loaderPanel.mxml @@ -19,7 +19,7 @@ <!-- 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" - horizontalAlign="center" headerHeight="0" dropShadowVisible="false" + headerHeight="0" dropShadowVisible="false" width="100%" height="100%"> <fx:Script> <![CDATA[ @@ -32,6 +32,6 @@ ]]> </fx:Script> -<mx:SWFLoader id="myLoader" width="100%" height="100%" /> +<mx:SWFLoader id="myLoader" width="100%" height="100%" horizontalAlign="center" verticalAlign="middle" /> </mx:Panel>
