You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/12/28 18:19:41 UTC
[royale-asjs] branch develop updated: uibase: make protected
dimension and positioning vars like _width, _percentWidth, _x ...
This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 4d058c4 uibase: make protected dimension and positioning vars like _width, _percentWidth, _x ...
4d058c4 is described below
commit 4d058c44dedcff49999adecabce1f84cb97e388d
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sat Dec 28 19:19:28 2019 +0100
uibase: make protected dimension and positioning vars like _width, _percentWidth, _x ...
---
.../Basic/src/main/royale/org/apache/royale/core/UIBase.as | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as
index 4816728..92e5c84 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as
@@ -289,7 +289,7 @@ package org.apache.royale.core
dispatchEvent(new Event("explicitHeightChanged"));
}
- private var _percentWidth:Number;
+ protected var _percentWidth:Number;
/**
* The requested percentage width this component
@@ -332,7 +332,7 @@ package org.apache.royale.core
dispatchEvent(new Event("percentWidthChanged"));
}
- private var _percentHeight:Number;
+ protected var _percentHeight:Number;
/**
* The requested percentage height this component
@@ -376,7 +376,7 @@ package org.apache.royale.core
dispatchEvent(new Event("percentHeightChanged"));
}
- private var _width:Number;
+ protected var _width:Number;
[Bindable("widthChanged")]
[PercentProxy("percentWidth")]
@@ -472,7 +472,7 @@ package org.apache.royale.core
return super.width;
}
- private var _height:Number;
+ protected var _height:Number;
[Bindable("heightChanged")]
[PercentProxy("percentHeight")]
@@ -662,7 +662,6 @@ package org.apache.royale.core
var left:* = ValuesManager.valuesImpl.getValue(this, "left");
var right:* = ValuesManager.valuesImpl.getValue(this, "right");
return (left === undefined || right === undefined);
-
}
/**
@@ -684,7 +683,7 @@ package org.apache.royale.core
return (top === undefined || bottom === undefined);
}
- private var _x:Number;
+ protected var _x:Number;
/**
* @private
@@ -759,7 +758,7 @@ package org.apache.royale.core
}
}
- private var _y:Number;
+ protected var _y:Number;
/**
* @private