You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by al...@apache.org on 2018/05/17 06:19:28 UTC
[royale-asjs] branch feature/MXRoyale updated: Update TextBase.as
for Label.as
This is an automated email from the ASF dual-hosted git repository.
alinakazi pushed a commit to branch feature/MXRoyale
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/feature/MXRoyale by this push:
new 19527c5 Update TextBase.as for Label.as
19527c5 is described below
commit 19527c519cba15290d1fdd07fec899db0ace0948
Author: alinakazi <AL...@GMAIL.COM>
AuthorDate: Thu May 17 11:19:24 2018 +0500
Update TextBase.as for Label.as
backgroundAlpha ,backgroundcolor,maxDisplayedLines uncommented
---
.../spark/components/supportClasses/TextBase.as | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/TextBase.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/TextBase.as
index 7046d40..50846f8 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/TextBase.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/TextBase.as
@@ -61,7 +61,7 @@ use namespace mx_internal;
* @playerversion AIR 1.5
* @productversion Royale 0.9.4
*/
-//[Style(name="backgroundAlpha", type="Number", inherit="no", minValue="0.0", maxValue="1.0")]
+[Style(name="backgroundAlpha", type="Number", inherit="no", minValue="0.0", maxValue="1.0")]
/**
* The color of the background of the entire
@@ -78,7 +78,7 @@ use namespace mx_internal;
* @playerversion AIR 1.5
* @productversion Royale 0.9.4
*/
-//[Style(name="backgroundColor", type="uint", format="Color", inherit="no")]
+[Style(name="backgroundColor", type="uint", format="Color", inherit="no")]
//--------------------------------------------------------------------------
// Other metadata for accessibility API
@@ -394,9 +394,9 @@ public class TextBase extends UIComponent
/**
* @private
*/
- /* private var _maxDisplayedLines:int = 0;
+ private var _maxDisplayedLines:int = 0;
- [Inspectable(category="General", minValue="-1", defaultValue="0")] */
+ [Inspectable(category="General", minValue="-1", defaultValue="0")]
/**
* An integer which determines whether, and where,
@@ -431,17 +431,18 @@ public class TextBase extends UIComponent
* @playerversion AIR 1.5
* @productversion Royale 0.9.4
*/
- /* public function get maxDisplayedLines():int
+ public function get maxDisplayedLines():int
{
return _maxDisplayedLines;
- } */
+ }
/**
* @private
*/
- /* public function set maxDisplayedLines(value:int):void
+ public function set maxDisplayedLines(value:int):void
{
- if (value != _maxDisplayedLines)
+ _maxDisplayedLines = value;
+ /* if (value != _maxDisplayedLines)
{
_maxDisplayedLines = value;
@@ -449,8 +450,8 @@ public class TextBase extends UIComponent
invalidateSize();
invalidateDisplayList();
- }
- } */
+ } */
+ }
//----------------------------------
// showTruncationTip
--
To stop receiving notification emails like this one, please contact
alinakazi@apache.org.