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 <[email protected]>
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")]