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

harbs 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 ccf6292  Changed Multiline whitespace to pre-wrap
ccf6292 is described below

commit ccf6292b23811eec7fd53c466aca4000d6567578
Author: Harbs <[email protected]>
AuthorDate: Wed May 9 12:52:50 2018 +0300

    Changed Multiline whitespace to pre-wrap
    
    This prevents double spaces from being collapsed into one.
---
 .../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
[email protected].

Reply via email to