You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2015/08/26 13:41:52 UTC
git commit: [flex-asjs] [refs/heads/develop] - Mobile views should be
flagged as occupying 100% of their space.
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 <pe...@apache.org>
Authored: Wed Aug 26 13:41:46 2015 +0200
Committer: Peter Ent <pe...@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;