You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pu...@apache.org on 2019/11/07 07:10:08 UTC

[royale-asjs] branch develop updated: Added get/set of Style direction in ButtonBase

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 28a5a3f  Added get/set of Style direction in ButtonBase
28a5a3f is described below

commit 28a5a3f45bbf5cc480adadc14119cd66312836fb
Author: pashminakazi <42...@users.noreply.github.com>
AuthorDate: Thu Nov 7 12:10:03 2019 +0500

    Added get/set of Style direction in ButtonBase
---
 .../royale/spark/components/supportClasses/ButtonBase.as | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/ButtonBase.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/ButtonBase.as
index 3c51a38..5e1e975 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/ButtonBase.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/ButtonBase.as
@@ -475,6 +475,22 @@ public class ButtonBase extends SkinnableComponent implements IFocusManagerCompo
     public function set textDecoration(val:String):void
     {
     }
+    
+   private var _direction:String = "LTR";
+
+    /**
+     *  @private
+     */
+    public function get direction():String{
+	
+        return _direction;
+    }
+    
+    public function set direction(value:String):void
+    {
+       _direction = value;
+    }
+
 
 }
 


Re: [royale-asjs] branch develop updated: Added get/set of Style direction in ButtonBase

Posted by Alex Harui <ah...@adobe.com.INVALID>.
I think you should also re-comment the [Style] metadata in the previous commit.

-Alex

On 11/6/19, 11:10 PM, "pushminakazi@apache.org" <pu...@apache.org> wrote:

    This is an automated email from the ASF dual-hosted git repository.
    
    pushminakazi pushed a commit to branch develop
    in repository https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&amp;data=02%7C01%7Caharui%40adobe.com%7Cea2962d438034bbd211908d7635186ae%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637087074115007846&amp;sdata=tAEU3ZuuyjC4XFj54S0XjbhcU%2BafkpvtUloNcqZCC4M%3D&amp;reserved=0
    
    
    The following commit(s) were added to refs/heads/develop by this push:
         new 28a5a3f  Added get/set of Style direction in ButtonBase
    28a5a3f is described below
    
    commit 28a5a3f45bbf5cc480adadc14119cd66312836fb
    Author: pashminakazi <42...@users.noreply.github.com>
    AuthorDate: Thu Nov 7 12:10:03 2019 +0500
    
        Added get/set of Style direction in ButtonBase
    ---
     .../royale/spark/components/supportClasses/ButtonBase.as | 16 ++++++++++++++++
     1 file changed, 16 insertions(+)
    
    diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/ButtonBase.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/ButtonBase.as
    index 3c51a38..5e1e975 100644
    --- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/ButtonBase.as
    +++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/ButtonBase.as
    @@ -475,6 +475,22 @@ public class ButtonBase extends SkinnableComponent implements IFocusManagerCompo
         public function set textDecoration(val:String):void
         {
         }
    +    
    +   private var _direction:String = "LTR";
    +
    +    /**
    +     *  @private
    +     */
    +    public function get direction():String{
    +	
    +        return _direction;
    +    }
    +    
    +    public function set direction(value:String):void
    +    {
    +       _direction = value;
    +    }
    +
     
     }