This is an automated email from the ASF dual-hosted git repository. hugoferreira 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 3dd5fe95dc Fix for the html property on FormHeading (was treated as normal text) 3dd5fe95dc is described below commit 3dd5fe95dc90de4f03bc024882388b772199d998 Author: Hugo Ferreira <hferre...@solidsoft.pt> AuthorDate: Tue Oct 18 21:56:50 2022 +0100 Fix for the html property on FormHeading (was treated as normal text) --- .../org/apache/royale/jewel/beads/views/FormHeadingView.as | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/FormHeadingView.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/FormHeadingView.as index 3c7aa4c251..5591ad4647 100644 --- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/FormHeadingView.as +++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/views/FormHeadingView.as @@ -89,7 +89,7 @@ package org.apache.royale.jewel.beads.views model = getModelByType(_strand,ITextModel) as ITextModel; model.addEventListener("textChange", textChangeHandler); - model.addEventListener("htmlChange", textChangeHandler); + model.addEventListener("htmlChange", htmlChangeHandler); if (spacerLabel == null) { spacerLabel = createLabel(""); @@ -134,5 +134,13 @@ package org.apache.royale.jewel.beads.views { headingLabel.text = model.text; } + + /** + * + */ + public function htmlChangeHandler(event:Event):void + { + headingLabel.html = model.html; + } } } \ No newline at end of file