You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2018/05/10 08:44:19 UTC
[royale-asjs] 03/03: Changed Multiline whitespace to pre-wrap
This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch feature/revert-refactor
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit bb438c2711f567cac008daac85dac8090af9d8b6
Author: Harbs <ha...@in-tools.com>
AuthorDate: Thu May 10 11:43:57 2018 +0300
Changed Multiline whitespace to pre-wrap
---
.../Basic/src/main/royale/org/apache/royale/html/MultilineLabel.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 8f51002..c639350 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
@@ -63,7 +63,7 @@ package org.apache.royale.html
addElementToWrapper(this,'div');
textNode = document.createTextNode(text) as Text;
element.appendChild(textNode);
- element.style.whiteSpace = 'normal'; // was nowrap on safari?
+ element.style.whiteSpace = 'pre-wrap'; // was nowrap on safari?
return element;
}
--
To stop receiving notification emails like this one, please contact
harbs@apache.org.