flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [06/12] git commit: [flex-asjs] [refs/heads/release0.8.0] - MultilineLabel wasn't multiline, at least on Safari
Date Sat, 13 May 2017 06:00:22 GMT
MultilineLabel wasn't multiline, at least on Safari


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7b04b395
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7b04b395
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7b04b395

Branch: refs/heads/release0.8.0
Commit: 7b04b3951950302d6596afd6046bb84d2bb5cf33
Parents: 0316364
Author: Alex Harui <aharui@apache.org>
Authored: Fri May 12 19:38:12 2017 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri May 12 22:46:58 2017 -0700

----------------------------------------------------------------------
 .../Basic/src/main/flex/org/apache/flex/html/MultilineLabel.as      | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7b04b395/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/MultilineLabel.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/MultilineLabel.as
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/MultilineLabel.as
index 0a77962..a776206 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/MultilineLabel.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/MultilineLabel.as
@@ -59,6 +59,7 @@ package org.apache.flex.html
         override protected function createElement():WrappedHTMLElement
         {
             element = document.createElement('div') as WrappedHTMLElement;
+			element.style.whiteSpace = 'normal'; // was nowrap on safari?
             positioner = element;
             element.flexjs_wrapper = this;
             return element;


Mime
View raw message