This is an automated email from the ASF dual-hosted git repository.

yishayw 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 2902b35  Add text decoration to spark labels
2902b35 is described below

commit 2902b357de606eb1df3c035a4946e415d27e9c61
Author: Yishay Weiss <[email protected]>
AuthorDate: Tue Nov 24 15:46:04 2020 +0000

    Add text decoration to spark labels
---
 .../projects/SparkRoyale/src/main/royale/spark/components/Label.as | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Label.as 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Label.as
index 3ca6762..78e2108 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Label.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Label.as
@@ -51,6 +51,7 @@ import mx.core.IUIComponent;
 import org.apache.royale.html.beads.SelectableBead;
 //import mx.core.Singleton;
 import mx.core.mx_internal;
+import org.apache.royale.core.ValuesManager;
 
 import spark.components.supportClasses.TextBase;
 //import spark.utils.TextUtil;
@@ -440,13 +441,15 @@ public class Label extends TextBase
         
     }
            
+    // TODO figure out if Flex values are identical
     public function get textDecoration():String
     {
-        return "";
+        return ValuesManager.valuesImpl.getValue(this, "textDecoration");
     }
+
     public function set textDecoration(value:String):void
     {
-        
+        setStyle("textDecoration", value);
     }
     
     
//--------------------------------------------------------------------------

Reply via email to