You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2022/07/13 07:59:49 UTC

[royale-asjs] branch develop updated: Gix max width to tooltip in emulation

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

yishayw 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 bbda416696 Gix max width to tooltip in emulation
bbda416696 is described below

commit bbda4166969c087811ab409fd4206a8891151658
Author: Yishay Weiss <yi...@hotmail.com>
AuthorDate: Wed Jul 13 10:59:39 2022 +0300

    Gix max width to tooltip in emulation
---
 .../projects/MXRoyale/src/main/royale/mx/controls/beads/ToolTipBead.as  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/ToolTipBead.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/ToolTipBead.as
index f48312ddc7..fa74fb72ba 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/ToolTipBead.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/ToolTipBead.as
@@ -61,6 +61,8 @@ package mx.controls.beads
                 {
                     tt.element.style.color = isError ? "#ff0000" : "#000";
 					adjustInsideBoundsIfNecessary();
+		    tt.element.style.maxWidth = "300px";
+		    tt.element.style.whiteSpace = "pre-wrap";
                 }
             }
         }