This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit fd4648ec4165b2e4131c12c03d8ea725c3cdbc58 Author: Alex Harui <aha...@apache.org> AuthorDate: Sun Feb 4 20:46:04 2018 -0800 fix multiline --- .../Basic/src/main/royale/org/apache/royale/html/MultilineLabel.as | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/MultilineLabel.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/MultilineLabel.as index 108a51e..4e76394 100644 --- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/MultilineLabel.as +++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/MultilineLabel.as @@ -60,6 +60,8 @@ package org.apache.royale.html override protected function createElement():WrappedHTMLElement { addElementToWrapper(this,'div'); + textNode = document.createTextNode(text) as Text; + element.appendChild(textNode); element.style.whiteSpace = 'normal'; // was nowrap on safari? return element; } -- To stop receiving notification emails like this one, please contact aha...@apache.org.