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 d804084  Jewel Tooltip: Accept text and html
d804084 is described below

commit d804084baf4635bd8a6fb94fe222cbdf790eebd2
Author: Piotr Zarzycki <[email protected]>
AuthorDate: Tue Dec 10 19:56:09 2019 +0100

    Jewel Tooltip: Accept text and html
---
 .../src/main/royale/org/apache/royale/jewel/beads/controls/ToolTip.as | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/ToolTip.as
 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/ToolTip.as
index e23dfc5..ba8b9ef 100644
--- 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/ToolTip.as
+++ 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/ToolTip.as
@@ -147,12 +147,12 @@ package org.apache.royale.jewel.beads.controls
 
             IEventDispatcher(_strand).addEventListener(MouseEvent.MOUSE_OUT, 
rollOutHandler, false);
 
-            var comp:IUIBase = _strand as IUIBase
+            var comp:IUIBase = _strand as IUIBase;
             host = UIUtils.findPopUpHost(comp);
                        if (tt) host.popUpParent.removeElement(tt);
 
             tt = new ToolTipLabel();
-            tt.text = toolTip;
+            tt.html = toolTip;
 
                        // add this before measuring or measurement is not 
accurate.
             host.popUpParent.addElement(tt, false); // don't trigger a layout

Reply via email to