This is an automated email from the ASF dual-hosted git repository.
pushminakazi 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 f32d820 Update SkinnableTextBase.as
f32d820 is described below
commit f32d82089bb53a3407f265694e7a4fbc81488994
Author: pashminakazi <[email protected]>
AuthorDate: Wed Mar 20 11:42:00 2019 +0500
Update SkinnableTextBase.as
---
.../components/supportClasses/SkinnableTextBase.as | 33 ++++++++++++++++++++--
1 file changed, 31 insertions(+), 2 deletions(-)
diff --git
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/SkinnableTextBase.as
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/SkinnableTextBase.as
index d795d1e..bd826d3 100644
---
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/SkinnableTextBase.as
+++
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/SkinnableTextBase.as
@@ -76,7 +76,7 @@ include "../../styles/metadata/SelectionFormatTextStyles.as"
*/
* @playerversion AIR 1.5
* @productversion Royale 0.9.4
*/
-[Style(name="borderAlpha", type="Number", inherit="no", theme="spark",
minValue="0.0", maxValue="1.0")]
+[Style(name="borderAlpha", type="Number", inherit="no", minValue="0.0",
maxValue="1.0")]
/**
* The color of the border for this component.
@@ -87,7 +87,7 @@ include "../../styles/metadata/SelectionFormatTextStyles.as"
*/
* @playerversion AIR 1.5
* @productversion Royale 0.9.4
*/
-//[Style(name="borderColor", type="uint", format="Color", inherit="no",
theme="spark, mobile")]
+[Style(name="borderColor", type="uint", format="Color", inherit="no",
"mobile")]
/**
* Controls the visibility of the border for this component.
@@ -434,6 +434,35 @@ public class SkinnableTextBase extends SkinnableComponent
super();
}
+ private var _borderAlpha:Number;
+ private var _borderColor:uint;
+
+ public function get borderAlpha():Number
+ {
+ return _borderAlpha;
+ }
+
+ /**
+ * @private
+ */
+ public function set borderAlpha(value:Number):void
+ {
+ _borderAlpha = value;
+ }
+
+ public function get borderColor():uint
+ {
+ return _borderColor;
+ }
+ /**
+ * @private
+ */
+ public function set borderColor(value:uint):void
+ {
+ _borderColor = value;
+ }
+
+
public function get contentBackgroundColor():uint
{
return 0;