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/06/20 10:39:13 UTC
[royale-asjs] branch feature/MXRoyale updated: Update ButtonBase.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 b794e41 Update ButtonBase.as
b794e41 is described below
commit b794e4169d989cdbb7869575277340b2b789f4d6
Author: alinakazi <AL...@GMAIL.COM>
AuthorDate: Wed Jun 20 15:39:12 2018 +0500
Update ButtonBase.as
---
.../royale/spark/components/supportClasses/ButtonBase.as | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
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 51438d5..be06834 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
@@ -422,7 +422,8 @@ public class ButtonBase extends SkinnableComponent implements IFocusManagerCompo
{
return ITextModel(model).text;
}
-
+
+
/**
* @royaleignorecoercion HTMLImageElement
*/
@@ -457,6 +458,16 @@ public class ButtonBase extends SkinnableComponent implements IFocusManagerCompo
if (!isNaN(explicitWidth)) setWidth(w);
if (!isNaN(explicitHeight)) setHeight(h);
}
+
+ public function set fontStyle(value:String):void
+ {
+
+ }
+ public function get fontStyle():String
+ {
+ return "NORMAL";
+ }
+
}
}