You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pi...@apache.org on 2020/11/23 18:17:19 UTC

[royale-asjs] branch develop updated: MXRoyale: Make fontFamily working in UIComponent

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

piotrz 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 ac85bde  MXRoyale: Make fontFamily working in UIComponent
ac85bde is described below

commit ac85bde807820d80f135a2c6b2f65f001014e294
Author: Piotr Zarzycki <pi...@gmail.com>
AuthorDate: Mon Nov 23 19:16:03 2020 +0100

    MXRoyale: Make fontFamily working in UIComponent
---
 frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
index 074e470..8577c7b 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
@@ -4847,12 +4847,11 @@ COMPILE::JS
      */
     public function get fontFamily():Object
     {
-        trace("fontFamily not implemented");
-        return 0;
+        return ValuesManager.valuesImpl.getValue(this, "fontFamily");
     }
     public function set fontFamily(value:Object):void
     {
-        trace("fontFamily not implemented");
+        setStyle("fontFamily", value);
     }
 	[Inspectable(category="General")]