flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Mobile views should be flagged as occupying 100% of their space.
Date Wed, 26 Aug 2015 11:41:52 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 82032377d -> 24dc2a602


Mobile views should be flagged as occupying 100% of their space.


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/24dc2a60
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/24dc2a60
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/24dc2a60

Branch: refs/heads/develop
Commit: 24dc2a602089f48143ad561d7eca1b6215b911d8
Parents: 8203237
Author: Peter Ent <pent@apache.org>
Authored: Wed Aug 26 13:41:46 2015 +0200
Committer: Peter Ent <pent@apache.org>
Committed: Wed Aug 26 13:41:46 2015 +0200

----------------------------------------------------------------------
 .../projects/Mobile/asjs/src/org/apache/flex/mobile/View.as      | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/24dc2a60/frameworks/projects/Mobile/asjs/src/org/apache/flex/mobile/View.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/asjs/src/org/apache/flex/mobile/View.as b/frameworks/projects/Mobile/asjs/src/org/apache/flex/mobile/View.as
index bb25416..8b48536 100644
--- a/frameworks/projects/Mobile/asjs/src/org/apache/flex/mobile/View.as
+++ b/frameworks/projects/Mobile/asjs/src/org/apache/flex/mobile/View.as
@@ -33,6 +33,10 @@ package org.apache.flex.mobile
 		public function View()
 		{
 			super();
+			
+			// views always take up 100% of their space
+			percentWidth = 100;
+			percentHeight = 100;
 		}
 		
 		private var _title:String;


Mime
View raw message